Skip to content

Vue 3 composition API support #172

@rizkimuhammada

Description

@rizkimuhammada

Hi,

I am currently migrating from Vue options API to composition API, but I encountered an error during plugin initialization.

[Vue warn]: beforeDestroyhas been renamed tobeforeUnmount. at <Ckeditor modelValue="<p>Content of the editor.</p>" onUpdate:modelValue=fn editor=fn<ClassicEditor> ... > at <Main onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< undefined > > at <RouterView> at <Main onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< undefined > > at <RouterView> at <App>

[Vue warn]: Unhandled error during execution of render function at <Ckeditor modelValue="<p>Content of the editor.</p>" onUpdate:modelValue=fn editor=fn<ClassicEditor> ... > at <Main onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< undefined > > at <RouterView> at <Main onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< undefined > > at <RouterView> at <App>

[Vue warn]: Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/vue-next at <Ckeditor modelValue="<p>Content of the editor.</p>" onUpdate:modelValue=fn editor=fn<ClassicEditor> ... > at <Main onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< undefined > > at <RouterView> at <Main onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< undefined > > at <RouterView> at <App>

ckeditor.js?3730:5 Uncaught (in promise) TypeError: t is not a function at Proxy.render (ckeditor.js?3730:5) at renderComponentRoot (runtime-core.esm-bundler.js?5c40:705) at componentEffect (runtime-core.esm-bundler.js?5c40:4044) at reactiveEffect (reactivity.esm-bundler.js?a1e9:42) at effect (reactivity.esm-bundler.js?a1e9:17) at setupRenderEffect (runtime-core.esm-bundler.js?5c40:4027) at mountComponent (runtime-core.esm-bundler.js?5c40:3985) at processComponent (runtime-core.esm-bundler.js?5c40:3945) at patch (runtime-core.esm-bundler.js?5c40:3556) at mountChildren (runtime-core.esm-bundler.js?5c40:3745)

Does ckeditor5-vue support the composition API?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions