Skip to content
Snippets Groups Projects
Commit 88863dbc authored by chris's avatar chris
Browse files

add id for remove mark

parent 037afb1e
No related branches found
No related tags found
1 merge request!215set id
const removeMarkStep = (state, tr, step, newTr, map, doc, user, date) => {
import { v4 as uuidv4 } from 'uuid';
const removeMarkStep = (
state,
tr,
step,
newTr,
map,
doc,
user,
date,
group,
) => {
doc.nodesBetween(step.from, step.to, (node, pos) => {
if (!node.isInline) {
return true;
......@@ -44,6 +56,8 @@ const removeMarkStep = (state, tr, step, newTr, map, doc, user, date) => {
date,
before,
after,
id: uuidv4(),
group,
}),
);
} else if (formatChangeMark) {
......
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