Commit 27e68b20 authored by chris's avatar chris
Browse files

remove console log

parent 48b997af
......@@ -60,10 +60,8 @@ const backSpaceShortCut = (state, dispatch, view) => {
const pressEnter = (state, dispatch) => {
// LISTS
console.log(state);
console.log('lisr', splitListItem(state.schema.nodes.list_item)(state));
splitListItem(state.schema.nodes.list_item)(state, dispatch);
if (splitListItem(state.schema.nodes.list_item)(state)) {
splitListItem(state.schema.nodes.list_item)(state, dispatch);
return true;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment