Can ckeditor5 be used in a Nuxt3 environment?
Window is not defined error occurred It does not work even though I wrapped it in .
<template>
<ClientOnly placeholder="loading...">
<ckeditor :editor="ClassicEditor" />
</ClientOnly>
</template>
<script>
import ClassicEditor from '@ckeditor/ckeditor5-build-classic'
import CKEditor from '@ckeditor/ckeditor5-vue'
export default defineComponent({
components: {
ckeditor: CKEditor,
},
data() {
return {
ClassicEditor,
}
},
})
</script>