mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-27 14:59:27 +08:00
feat: add data attribute on ReactNodeViewContent div (#5539)
This commit is contained in:
parent
88e310b144
commit
fafb5adc98
@ -125,6 +125,7 @@ export class ReactNodeView<
|
||||
}
|
||||
|
||||
if (this.contentDOMElement) {
|
||||
this.contentDOMElement.dataset.nodeViewContentReact = ''
|
||||
// For some reason the whiteSpace prop is not inherited properly in Chrome and Safari
|
||||
// With this fix it seems to work fine
|
||||
// See: https://github.com/ueberdosis/tiptap/issues/1197
|
||||
|
Loading…
Reference in New Issue
Block a user