Skip to content

Releases: ckeditor/ckeditor5-vue

v7.2.0

26 Sep 08:43
Compare
Choose a tag to compare

Bug fixes

  • Experimental: Better error messages in useCKEditorCloud. It now detects existing editor installations and gives migration info from NPM to CDN. (commit)

Other changes

  • Remove ckeditor5-premium-features from peerDependencies. (commit)

v7.1.0

19 Sep 07:25
Compare
Choose a tag to compare

Features

  • Experimental: Added a useCKEditorCloud() composable for managing asynchronous loading of CKEditor 5 from a CDN. (d17eb7f)

v7.1.0-alpha.0

06 Sep 05:11
Compare
Choose a tag to compare
v7.1.0-alpha.0 Pre-release
Pre-release

Features

  • Experimental: Added a useCKEditorCloud() composable for managing asynchronous loading of CKEditor 5 from a CDN. (d17eb7f)

v7.0.0

07 Aug 10:13
Compare
Choose a tag to compare

We are excited to announce a new major release of the Vue integration.

In this release, we have introduced the following breaking changes that should make using the integration more intuitive and easier.

  • Composition API: The integration has been rewritten in Composition API, which follows the recommended way of writing components in Vue 3.

  • Vue 3.4+: The minimum required version of Vue is now 3.4+ because we are using the Generics and defineModel() features to provide better typings for the editor prop and component events.

  • ESM-first: Besides the UMD build, the integration is now available in ESM format. In most projects, the new ESM build should be automatically prioritized by bundlers and other tools.

  • Changed exports: We have changed how the Vue plugin and component are exported. The Vue plugin is no longer the default export but is exported as CkeditorPlugin. The component is now exported as Ckeditor instead of default.component.

    Here's a comparison of how you can import the Vue plugin that registers a global <ckeditor> component:

    // Before the release.
    import CKEditor from '@ckeditor/ckeditor5-vue';
    
    // After the release.
    import { CkeditorPlugin } from '@ckeditor/ckeditor5-vue';

    If you prefer to use a local component instead of a global component, here's a comparison of how you can import it:

    // Before the release.
    import CKEditor from '@ckeditor/ckeditor5-vue';
    
    const component = CKEditor.component;
    
    // After the release.
    import { Ckeditor } from '@ckeditor/ckeditor5-vue';
    
    const component = Ckeditor;
  • Remove the editor argument from the destroy event: The destroy event no longer has an editor argument since it was always null.

  • New name of the global variable: The name of the global variable used in the UMD build changed from CKEditor to CKEDITOR_VUE.

BREAKING CHANGES

  • Bump required version to Vue 3.4+. See #282.
  • Change the global name used in the UMD build from CKEditor to CKEDITOR_VUE.
  • Export the component as Ckeditor instead of default.component. Closes #284.
  • Migrate to Composition API. Closes #172.
  • Migrate to ESM. See ckeditor/ckeditor5#16616.
  • Remove argument from the destroy event, as it was always null. Closes #283.
  • Rename main package exports to CkeditorPlugin and Ckeditor.

Bug fixes

  • Change the global name used in the UMD build from CKEditor to CKEDITOR_VUE to match the new convention. See ckeditor/ckeditor5#16736. (commit)
  • Fix the component properties and event types. (commit)
  • Use type of the passed editor prop rather than generic Editor type. Closes #282. (commit)

Other changes

  • Rename exports to improve name of the editor component in Vue. (commit)

v7.0.0-alpha.2

17 Jul 11:24
Compare
Choose a tag to compare
v7.0.0-alpha.2 Pre-release
Pre-release

BREAKING CHANGES

  • Change the global name used in the UMD build from CKEditor to CKEDITOR_VUE.

Bug fixes

  • Change the global name used in the UMD build from CKEditor to CKEDITOR_VUE to match the new convention. See ckeditor/ckeditor5#16736. (commit)
  • Fix the component properties and event types. (commit)

v7.0.0-alpha.1

16 Jul 09:52
Compare
Choose a tag to compare
v7.0.0-alpha.1 Pre-release
Pre-release

BREAKING CHANGES

  • Rename main package exports to CkeditorPlugin and Ckeditor.

Other changes

  • Rename exports to improve name of the editor component in Vue. (commit)

v7.0.0-alpha.0

15 Jul 07:42
Compare
Choose a tag to compare
v7.0.0-alpha.0 Pre-release
Pre-release

We are excited to announce the alpha release of the next major version of the Vue integration.

In this release, we have introduced the following breaking changes that should make using the integration more intuitive and easier.

  • Composition API: The integration has been rewritten in Composition API, which follows the recommended way of writing components in Vue 3.

  • Vue 3.4+: The minimum required version of Vue is now 3.4+ because we are using the Generics and defineModel() features to provide better typings for the editor prop and component events.

  • ESM-first: Besides the UMD build, the integration is now available in ESM format. In most projects, the new ESM build should be automatically prioritized by bundlers and other tools.

  • Changed exports: We have changed how the Vue plugin and component are exported. The Vue plugin is no longer the default export but is exported as CKEditorPlugin. The component is now exported as CKEditor instead of default.component.

    Here's a comparison of how you can import the Vue plugin that registers a global <ckeditor> component:

     // Before the release.
     import CKEditor from '@ckeditor/ckeditor5-vue';
     
     // After the release.
     import { CKEditorPlugin } from '@ckeditor/ckeditor5-vue';

    If you prefer to use a local component instead of a global component, here's a comparison of how you can import it:

    // Before the release.
    import CKEditor from '@ckeditor/ckeditor5-vue';
    
    const component = CKEditor.component;
    
    // After the release.
    import { CKEditor } from '@ckeditor/ckeditor5-vue';
    
    const component = CKEditor;
  • Remove the editor argument from the destroy event: The destroy event no longer has an editor argument since it was always null.

BREAKING CHANGES

  • The @ckeditor/ckeditor5-vue package requires Vue 3.4+. See #282.
  • Export the component as CKEditor instead of default.component. Closes #284.
  • Migrate to Composition API. Closes #172.
  • Migrate to ESM. See ckeditor/ckeditor5#16616.
  • Remove the argument from the destroy event, as it was always null. Closes #283.
  • Replace the default export with named CKEditorPlugin export.

Bug fixes

  • Use the type of the passed editor prop rather than generic Editor type. Closes #282. (commit)

Other changes

  • Add UMD for better backward compatibility. (commit)
  • Updated yarn.lock to fix dependabot alert. (commit)

v6.0.0

26 Jun 08:36
Compare
Choose a tag to compare

We are excited to announce the next major version of the Vue integration.

This release is intended to allow the integration to work with the latest version of new installation methods.

v6.0.0-alpha.0

05 Jun 07:37
Compare
Choose a tag to compare
v6.0.0-alpha.0 Pre-release
Pre-release

We are happy to announce the alpha release of the next major version of the React integration.

This release is intended to allow the integration to work with existing and new installation methods announced in this post.

Please refer to our nightly documentation build for the installation instructions.

Features

  • Change the implementation to only depend on types from the ckeditor5 packages and not runtime code to make the integration work with existing and new installation methods. (commit)

Other changes

v5.1.0

18 Apr 06:36
Compare
Choose a tag to compare

Features

  • Added disableTwoWayDataBinding property that allows disabling the two-way data binding. It increases performance when working with large documents. Closes ckeditor/ckeditor5-vue#246. (commit)