Skip to content
Snippets Groups Projects
Commit 27e68b20 authored by chris's avatar chris
Browse files

remove console log

parent 48b997af
No related branches found
No related tags found
1 merge request!202new schema creation
...@@ -60,10 +60,8 @@ const backSpaceShortCut = (state, dispatch, view) => { ...@@ -60,10 +60,8 @@ const backSpaceShortCut = (state, dispatch, view) => {
const pressEnter = (state, dispatch) => { const pressEnter = (state, dispatch) => {
// LISTS // 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)) { if (splitListItem(state.schema.nodes.list_item)(state)) {
splitListItem(state.schema.nodes.list_item)(state, dispatch);
return true; return true;
} }
......
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