Compare commits
2 Commits
cab3afd797
...
d5ae08c961
Author | SHA1 | Date | |
---|---|---|---|
d5ae08c961 | |||
32edef2d38 |
|
@ -394,7 +394,7 @@ const editor = useEditor({
|
|||
return {
|
||||
...this.parent?.(),
|
||||
id: {
|
||||
default: createRandomID,
|
||||
default: () => createRandomID(),
|
||||
parseHTML: element => element.getAttribute('data-id'),
|
||||
renderHTML: attributes => ({
|
||||
'data-id': attributes.id,
|
||||
|
|
Loading…
Reference in New Issue
Block a user