Skip to content
Snippets Groups Projects
Commit 7dd7fc9e authored by chris's avatar chris
Browse files

track list additions

parent 8bbbd820
No related branches found
No related tags found
1 merge request!146Images lists
...@@ -102,7 +102,8 @@ const trackedTransaction = (tr, state, user) => { ...@@ -102,7 +102,8 @@ const trackedTransaction = (tr, state, user) => {
} else { } else {
if ( if (
state.selection.from === state.selection.to && state.selection.from === state.selection.to &&
tr.selection.$head.depth > 1 tr.selection.$head.depth > 1 &&
state.selection.from - tr.selection.from === 1
) { ) {
tr.steps.forEach(originalStep => { tr.steps.forEach(originalStep => {
const step = originalStep.map(map); const step = originalStep.map(map);
......
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