quasar-tiptap
quasar-tiptap copied to clipboard
Can't dynamically change source HTML "on the fly"
I need to dynamically reload the HTML tree in response to an outside event (clicking on a map icon).
Usually this works fine, but Intermittently (maybe only if there is image content?) I get the dreaded:
Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders.
Instead, use a data or computed property based on the prop's value.
Prop being mutated: "node" VueComponent {_uid: 392, _isVue: true, $options: {…}, _ …}
found in
---> <OEmbed>
<EditorContent>
<QuasarTiptap>
<QItem>
...
or:
...Prop being mutated: "node" VueComponent {_uid: 620, _isVue: true, $options: {…}, …}
found in
---> <OImageView>
<EditorContent>
...
After numerous fumbled attempts, I'm coming to the belief that I can't fix this on my end.
Could it possibly be resolved by inserting cleanContent()
at the very beginning of setContent()
within quasar-tiptap?