9uenther
9uenther
With nuxt3 i use `` https://nuxt.com/docs/api/components/client-only
@BayBreezy I get the same error when I use ```javascript const editor = ref(null); ``` for the v-model. If I use ```javascript const editor = shallowRef(null); ``` the error disappears.
I use it inside `ClientOnly` tag: ```html ``` But I have another navigation issue when I navigate away and back. I get following error, and the editor isn't loading: ```...
I switch back to basics ```javascript const editor = ref(null); const editorSave = () => { console.log(editor.value.html); }; watch(editor, (val, oldVal) => { console.log('unlayer-editor', val); }, {deep: true}) onMounted(() =>...
> I found a fix.. just assign an editorId to the component... @9uenther At which location does something have to be inserted? Do you have an example code?
I use it (with a slightly modified library) of this kind: https://github.com/wa0x6e/cal-heatmap/issues/391 ```javascript cal.on('mousedown', (event, timestamp, value) => { ... startDate.value = dayjs(timestamp) endDate.value = null }); cal.on('mouseover', (event, timestamp,...