EZQMS-368: fix exit text editor node uuid extension node (#4044)

Signed-off-by: Anna No <anna.no@xored.com>
This commit is contained in:
Anna No 2023-11-22 21:59:15 +07:00 committed by GitHub
parent 15e2c9bc47
commit a46754b505
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,6 +69,8 @@ export const findNodeUuidMark = (node: Node): ProseMirrorMark | undefined => {
*/ */
export const NodeUuidExtension = Mark.create<NodeUuidOptions, NodeUuidStorage>({ export const NodeUuidExtension = Mark.create<NodeUuidOptions, NodeUuidStorage>({
name: NAME, name: NAME,
exitable: true,
inclusive: false,
addOptions () { addOptions () {
return { return {
HTMLAttributes: {} HTMLAttributes: {}