We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f5a069 commit a33d629Copy full SHA for a33d629
src/plugins/mermaid/creator.js
@@ -22,7 +22,7 @@ export default function creator(mermaid) {
22
const previewEl = getPreviewEl(this.$el);
23
const eles = previewEl.querySelectorAll('.v-md-mermaid');
24
25
- if (!eles.length) return;
+ if (!eles.length || this.isEditMode) return;
26
27
let parseSuccess = false;
28
eles.forEach((ele) => {
@@ -81,6 +81,7 @@ export default function creator(mermaid) {
81
immediate: true,
82
handler: handleMdChange,
83
},
84
+ currentMode: handleMdChange,
85
86
});
87
0 commit comments