Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ckeditor4-vue

ckeditor31.8kSEE LICENSE IN LICENSE.md3.2.1

npm version GitHub tag [![CircleCI](https://dl.circ

wysiwyg, rich text, editor, rte, html, contentEditable, editing, vue, component, ckeditor, ckeditor4, ckeditor 4

readme

CKEditor 4 WYSIWYG editor component for Vue.js Tweet

npm version GitHub tag CircleCI

Join newsletter Follow Twitter

⚠️ CKEditor 4: End of Life and Extended Support Model until Dec 2028

CKEditor 4 was launched in 2012 and reached its End of Life (EOL) on June 30, 2023.

A special edition, CKEditor 4 LTS ("Long Term Support"), is available under commercial terms ("Extended Support Model") for anyone looking to extend the coverage of security updates and critical bug fixes.

With CKEditor 4 LTS, security updates and critical bug fixes are guaranteed until December 2028.

About this repository

Master branch = CKEditor 4 LTS Vue Component

After June 30, 2023 the master version of the LICENSE.md file changed to reflect the license of CKEditor 4 LTS available under the Extended Support Model.

This repository now contains the source code of CKEditor 4 LTS Vue Component that is protected by copyright law.

Getting CKEditor 4 (Open Source)

You may continue using CKEditor Vue Component 2.4.0 and below under the open source license terms. Please note, however, that the open source version no longer comes with any security updates, so your application will be at risk.

In order to download the open source version of CKEditor 4 Vue Component, use tags 2.4.0 and below. CKEditor Vue Component 2.4.0 was the last version available under the open source license terms.

About this package

The official CKEditor 4 WYSIWYG editor component for Vue.js.

We are looking forward to your feedback! You can report any issues, ideas or feature requests on the integration issues page.

CKEditor 4 screenshot

Installation and usage

To install the CKEditor 4 component for Vue.js from npm, simply run:

npm install ckeditor4-vue

Then use it by calling the Vue.use() method:

import Vue from 'vue';
import CKEditor from 'ckeditor4-vue';

Vue.use( CKEditor );

new Vue( {
    // ... options
} )

And use the <ckeditor /> component in your template:

<template>
    <div id="app">
        <ckeditor value="Hello, World!"></ckeditor>
    </div>
</template>

Instead of using ES6 imports, the component can also be added via a direct script include:

<script src="../node_modules/ckeditor4-vue/dist/ckeditor.js"></script>

and used in the same way as with ES6 imports:

Vue.use( CKEditor );

Refer to the official CKEditor 4 Vue component documentation for more information about the installation process.

Documentation and examples

See the CKEditor 4 WYSIWYG Editor Vue Integration article in the CKEditor 4 documentation.

You can also check out the CKEditor 4 WYSIWYG Editor Vue Integration samples in CKEditor 4 Examples.

Browser support

The CKEditor 4 Vue component works with all the supported browsers except for Internet Explorer.

To enable Internet Explorer 11 support, instead of the standard import you need to import a specific dist/legacy.js file containing all required polyfills:

import CKEditor from 'ckeditor4-vue/dist/legacy.js'

Note: Even though CKEditor 4 supports older Internet Explorer versions including IE8, IE9 and IE10, the Vue integration is only supported in the latest Internet Explorer 11.

Contributing

After cloning this repository, install necessary dependencies:

npm install

Executing tests

Run:

npm run test

If you are going to change the source files (ones located in the src/ directory), remember about rebuilding the package. You can use npm run develop in order to do it automatically.

Building the package

Build a minified version of the package that is ready to be published:

npm run build

License

Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.

For full details about the license, please check the LICENSE.md file.

CKEditor 4 Vue Component 2.4.0 and below for CKEditor 4 Open Source

Licensed under the terms of any of the following licenses at your choice:

CKEditor 4 Vue Component 3.0 and above for CKEditor 4 LTS ("Long Term Support")

CKEditor 4 LTS Vue Component (starting from version 3.0) is available under a commercial license only.

changelog

CKEditor 4 WYSIWYG Editor Vue Integration Changelog

⚠️️️ CKEditor 4 (the open source edition) is no longer maintained. ⚠️

If you would like to keep access to future CKEditor 4 security patches, check the Extended Support Model, which guarantees security updates and critical bug fixes until December 2028. Alternatively, upgrade to CKEditor 5.

ckeditor4-vue 3.2.1

Other Changes:

  • Updated default CDN CKEditor 4 dependency to 4.25.1-lts.
  • Updated license headers to 2025.
  • Updated readme files to reflect the new CKEditor 4 Extended Support Model end date.

Please note that this patch release doesn't provide any security fixes. It's a part of our administrative maintenance updates.

ckeditor4-vue 3.2.0

⚠️️️ CKEditor 4 CDN dependency has been upgraded to the latest secure version. All editor versions below 4.25.0-lts can no longer be considered as secure! ⚠️

Other Changes:

  • Updated default CDN CKEditor 4 dependency to 4.25.0-lts.

ckeditor4-vue 3.1.0

⚠️️️ CKEditor 4 CDN dependency has been upgraded to the latest secure version. All editor versions below 4.24.0-lts can no longer be considered as secure! ⚠️

Other Changes:

  • Updated default CDN CKEditor 4 dependency to 4.24.0-lts.

ckeditor4-vue 3.0.0

This release introduces a support for the LTS (”Long Term Support”) version of the editor, available under commercial terms ("Extended Support Model").

If you acquired the Extended Support Model for CKEditor 4 LTS, please read the CKEditor 4 LTS key activation guide.

Other Changes:

  • Updated default CDN CKEditor 4 dependency to 4.23.0-lts.

ckeditor4-vue 2.4.0

Other Changes:

  • Updated default CDN CKEditor 4 dependency to 4.22.1.

ckeditor4-vue 2.3.0

Other Changes:

  • Updated default CDN CKEditor 4 dependency to 4.21.0.

ckeditor4-vue 2.2.2

Other Changes:

  • Updated default CDN CKEditor 4 dependency to 4.20.2.

ckeditor4-vue 2.2.1

Other Changes:

  • Updated default CDN CKEditor 4 dependency to 4.20.1.

ckeditor4-vue 2.2.0

Other Changes:

  • Updated default CDN CKEditor 4 dependency to 4.20.

ckeditor4-vue 2.1.1

Other Changes:

  • Updated default CDN CKEditor 4 dependency to 4.19.1.

ckeditor4-vue 2.1.0

Other Changes:

  • Updated default CDN CKEditor 4 dependency to 4.19.0.

ckeditor4-vue 2.0.0

Other Changes:

  • Updated default CDN CKEditor 4 dependency to 4.18.0.

    Web Spell Checker ended support for WebSpellChecker Dialog on December 31st, 2021. Therefore, this plugin has been deprecated and removed from the CKEditor 4.18.0 standard-all preset. We strongly encourage everyone to choose one of the other available spellchecking solutions - Spell Check As You Type (SCAYT) or WProofreader.

ckeditor4-vue 1.5.1

Other Changes:

  • Updated year and company name in the license headers.
  • Updated default CDN CKEditor 4 dependency to 4.17.2.

ckeditor4-vue 1.5.0

New Features:

Other Changes:

  • Updated year and company name in the license headers.

ckeditor4-vue 1.4.0

Highlights:

Updated dependency ckeditor4-integrations-common@1.0.0 does not contain Promise polyfill anymore. This is a possible breaking change for any downstream package that relies on it.

Note that ckeditor4-vue package already exposes two variants of the library (es6-compatible and a legacy one) and the polyfill will still be used to support the legacy version.

Fixed Issues:

Other Changes:

ckeditor4-vue 1.3.2

Other Changes:

  • Updated default CDN CKEditor 4 dependency to 4.16.2.

ckeditor4-vue 1.3.1

Other Changes:

  • Updated default CDN CKEditor 4 dependency to 4.16.1.

ckeditor4-vue 1.3.0

Other Changes:

ckeditor4-vue 1.2.0

New Features:

Other Changes:

  • Updated default CDN CKEditor 4 dependency to 4.15.1.

ckeditor4-vue 1.1.0

Other Changes:

  • Updated default CDN CKEditor 4 dependency to 4.15.0.

ckeditor4-vue 1.0.1

Other Changes:

  • Updated default CDN CKEditor 4 dependency to 4.14.1.

ckeditor4-vue 1.0.0

The first stable release of the CKEditor 4 WYSIWYG Editor Vue Integration. After a few months of the beta phase, testing and listening to community feedback, the CKEditor 4 Vue Integration is stable and can be used with full confidence. Enjoy!

Fixed Issues:

  • #32: Fixed: Watchers may interrupt the editor initialization. Thanks to Michael Babker!

ckeditor4-vue 0.2.0

Other Changes:

  • Updated the default CKEditor 4 CDN dependency to 4.14.0.

ckeditor4-vue 0.1.0

The first beta release of CKEditor 4 WYSIWYG Editor Vue Integration.