Skip to content

Commit 0a2860e

Browse files
artem-harbourharbournick
authored andcommitted
fix: restore stored marks if they exist (#863)
1 parent 1b0bd76 commit 0a2860e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/super-editor/src/extensions/block-node/block-node.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { helpers } from '@core/index.js';
33
import { Plugin, PluginKey } from 'prosemirror-state';
44
import { ReplaceStep } from 'prosemirror-transform';
55
import { v4 as uuidv4 } from 'uuid';
6+
import { Transaction } from 'prosemirror-state';
67

78
const { findChildren } = helpers;
89
const SD_BLOCK_ID_ATTRIBUTE_NAME = 'sdBlockId';

0 commit comments

Comments
 (0)