mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 22:36:14 +08:00
fix editor for firefox
This commit is contained in:
parent
11a000a2b6
commit
74b511d822
@ -179,6 +179,8 @@ export default {
|
||||
},
|
||||
|
||||
createView() {
|
||||
this.contentNode.elm.style.whiteSpace = 'pre-wrap'
|
||||
|
||||
return new EditorView(this.contentNode.elm, {
|
||||
state: this.state,
|
||||
dispatchTransaction: this.dispatchTransaction,
|
||||
|
Loading…
Reference in New Issue
Block a user