Commit fc63bd5f authored by chris's avatar chris

remove console.logs

parent b881a8d5
......@@ -191,7 +191,6 @@ const markWrapping = (tr, pos, oldNode, newNode, user, username, date1) => {
};
const trackedTransaction = (tr, state, editor) => {
console.log(Object.keys(tr.meta));
if (
!tr.steps.length ||
(tr.meta &&
......
......@@ -28,7 +28,6 @@ const findSelectedChanges = state => {
insertionPos = selection.from;
}
deletionMark = marks.find(mark => mark.type.name === "deletion");
console.log("selection", state);
if (deletionMark) {
deletionPos = selection.from;
}
......@@ -56,7 +55,6 @@ const findSelectedChanges = state => {
}
}
if (!deletionMark) {
console.log("deletion");
deletionMark = node.attrs.track
? node.attrs.track.find(trackAttr => trackAttr.type === "deletion")
: node.marks.find(mark => mark.type.name === "deletion");
......
Markdown is supported
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