Fix linting errors
This commit is contained in:
parent
567d9e5841
commit
fd7ba5d300
|
|
@ -51,7 +51,8 @@ const editor = useEditor({
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
watch(text, (newText: string, _oldText: string) => {
|
// watch(text, (newText: string, _oldText: string) => {
|
||||||
|
watch(text, (newText: string) => {
|
||||||
const isSame = editor.value?.getHTML() === newText;
|
const isSame = editor.value?.getHTML() === newText;
|
||||||
|
|
||||||
if (isSame) {
|
if (isSame) {
|
||||||
|
|
|
||||||
|
|
@ -53,6 +53,7 @@
|
||||||
v-if="moduleBookmark"
|
v-if="moduleBookmark"
|
||||||
@link="goTo('module', module.slug)"
|
@link="goTo('module', module.slug)"
|
||||||
>
|
>
|
||||||
|
<!-- eslint-disable vue/no-v-html -->
|
||||||
<div v-html="moduleBookmark.module.intro"></div>
|
<div v-html="moduleBookmark.module.intro"></div>
|
||||||
</activity-entry>
|
</activity-entry>
|
||||||
<activity-entry
|
<activity-entry
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue