Fix linting errors

This commit is contained in:
Ramon Wenger 2023-12-06 16:43:50 +01:00
parent 567d9e5841
commit fd7ba5d300
2 changed files with 3 additions and 1 deletions

View File

@ -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) {

View File

@ -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