Skip to content
Snippets Groups Projects
Commit 3381928a authored by chris's avatar chris
Browse files

comment fix

parent 7e3efd5e
No related branches found
No related tags found
1 merge request!187comment fix
...@@ -131,8 +131,7 @@ const createComment = (state, dispatch, group, viewid) => { ...@@ -131,8 +131,7 @@ const createComment = (state, dispatch, group, viewid) => {
} }
}); });
createCommentOnFootnote(state, dispatch, group, viewid); if (footnote) return createCommentOnFootnote(state, dispatch, group, viewid);
if (footnote) return;
toggleMark(state.config.schema.marks.comment, { toggleMark(state.config.schema.marks.comment, {
id: uuidv4(), id: uuidv4(),
......
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