fix editor for firefox
This commit is contained in:
@@ -179,6 +179,8 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
createView() {
|
createView() {
|
||||||
|
this.contentNode.elm.style.whiteSpace = 'pre-wrap'
|
||||||
|
|
||||||
return new EditorView(this.contentNode.elm, {
|
return new EditorView(this.contentNode.elm, {
|
||||||
state: this.state,
|
state: this.state,
|
||||||
dispatchTransaction: this.dispatchTransaction,
|
dispatchTransaction: this.dispatchTransaction,
|
||||||
|
|||||||
Reference in New Issue
Block a user