fix(MicronEditorPage): disable and enable eslint rule for v-html usage
This commit is contained in:
@@ -51,11 +51,13 @@
|
|||||||
isMobileView && showEditor ? 'hidden' : '',
|
isMobileView && showEditor ? 'hidden' : '',
|
||||||
]"
|
]"
|
||||||
>
|
>
|
||||||
|
<!-- eslint-disable vue/no-v-html -->
|
||||||
<div
|
<div
|
||||||
ref="previewRef"
|
ref="previewRef"
|
||||||
class="flex-1 overflow-auto text-zinc-100 p-4 font-mono text-sm whitespace-pre-wrap break-words nodeContainer"
|
class="flex-1 overflow-auto text-zinc-100 p-4 font-mono text-sm whitespace-pre-wrap break-words nodeContainer"
|
||||||
v-html="renderedContent"
|
v-html="renderedContent"
|
||||||
></div>
|
></div>
|
||||||
|
<!-- eslint-enable vue/no-v-html -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user