vue-editor-js | editor.js for Vue users | Editor library
kandi X-RAY | vue-editor-js Summary
kandi X-RAY | vue-editor-js Summary
editor.js for Vue users
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Configure the tools settings
- Install plugin .
vue-editor-js Key Features
vue-editor-js Examples and Code Snippets
Community Discussions
Trending Discussions on vue-editor-js
QUESTION
I'm trying to debug a problem we have in vue editor js package where everything works ok except for the "loadData" button which although it's changing the prop initData, the Editor component doesn't seem to render again.
I'm not a js master and this API is not clear to me, I suspect the problem is in the
watch(_ => props.initData, _ => initEditor)
Which looks like it's watching for initData changes but than called a function with no params ??? But i don't understand how it works (or what's the problem making it not work) ? , can anyone have a look and help debug it or say what's wrong?
...ANSWER
Answered 2020-Feb-12 at 19:43you should call the initEditor function not just return it
for example
watch(_ => props.initData, _ => initEditor(props))
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vue-editor-js
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page