Open ljy19891118 opened 6 years ago
I am having the exact same problem, if you find a solution I would like to know
Having the same problem..
vue2-editor.js?b3e9:1 Uncaught TypeError: Cannot read property 'render' of undefined
at Function.value (vue2-editor.js?b3e9:1)
at Object.r [as create] (vue2-editor.js?b3e9:1)
at e.insertAt (vue2-editor.js?b3e9:1)
at e.insertAt (vue2-editor.js?b3e9:1)
at e.value (vue2-editor.js?b3e9:1)
at e.insertAt (vue2-editor.js?b3e9:1)
at e.insertAt (vue2-editor.js?b3e9:1)
at e.value (vue2-editor.js?b3e9:1)
at t.value (vue2-editor.js?b3e9:1)
at eval (vue2-editor.js?b3e9:1)
Same problem here.
Same problem here as well. Has anybody found a solution?
I'm getting the strong feeling that this project is abandoned.
Yes, it looks like it's abandoned. The thing is there are some example online where this formula insertion is working. So there must be a workaround in this current version.
Same Problem here
I found solution about this issue.
Add few lines to import katex module to component file.
import katex from 'katex';
import 'katex/dist/katex.min.css';
And add below lines to 'mounted' methods.
mounted() {
window.katex = katex;
}
I found solution about this issue.
Add few lines to import katex module to component file.
import katex from 'katex'; import 'katex/dist/katex.min.css';
And add below lines to 'mounted' methods.
mounted() { window.katex = katex; }
Thanks, it works perfectly!
// vue.config.js
// configureWebpack
plugins: [
new Webpack.ProvidePlugin({
'window.Quill': ['quill'],
'window.katex': ['katex'],
}),
],
dfdfgdfgdfgdfg
I'm trying to use vue-quill-editor in my project, which is a webpack project. After I mount it as a component, everything looks well, but the formula button is not shown. I checked the document of quill, it said:
So I import KaTex in a vue file like this:
However, it still not work.
I try add "formula" option like this:
The button of formula is shown, but it isn't work correctly. And the error report: