fix editor for firefox

This commit is contained in:
Philipp Kühn 2018-08-27 23:43:30 +02:00
parent 11a000a2b6
commit 74b511d822

View File

@ -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,