diff --git a/wax-prosemirror-services/src/ShortCutsService/ShortCuts.js b/wax-prosemirror-services/src/ShortCutsService/ShortCuts.js index 7e420653d0b6bae9c13837b157c92b863a2ecc15..34a4af4490db338a3d0068447d4028af52ba0734 100644 --- a/wax-prosemirror-services/src/ShortCutsService/ShortCuts.js +++ b/wax-prosemirror-services/src/ShortCutsService/ShortCuts.js @@ -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; }