-
Notifications
You must be signed in to change notification settings - Fork 361
Closed
Description
First off this is fantastic! Thank you for your contribution!
In dev (local machine) this is working great. However when I push this into production I am getting errors. I have traced it back to the (FYI im using the default VUE webpack configuration) webpack.optimize.UglifyJsPlugin that is used to build the production code.
If I comment out:
new webpack.optimize.UglifyJsPlugin({
compress: {
warnings: false
},
sourceMap: true
}),
All is right with the world but there is a significant performance hit.
The following are the errors that present themselves:
TypeError: e.isBuffer is not a function
at d (vue2-editor.js:1)
at n (vue2-editor.js:1)
at t.value (vue2-editor.js:1)
at new t (vue2-editor.js:1)
at new t (vue2-editor.js:1)
at a.setQuillElement (vue2-editor.js:1)
at a.initializeVue2Editor (vue2-editor.js:1)
at a.mounted (vue2-editor.js:1)
at Dt (vue.esm.js:2921)
at Object.insert (vue.esm.js:4158)
AND
vue.esm.js:1741 TypeError: Cannot read property 'innerHTML' of null
at a.value (vue2-editor.js:1)
at wa.run (vue.esm.js:3233)
at Rt (vue.esm.js:2981)
at Array.<anonymous> (vue.esm.js:1837)
at at (vue.esm.js:1758)
It is probably worth noting that it attaches to the text area, but any default data from v-model is not persisted into the textarea.
Any help would be appreciated!
wanpan9527, jgilchrist, ncatch, mwidmann and johntimothybaileywanpan9527 and tangdada
Metadata
Metadata
Assignees
Labels
No labels