CKeditor

OverviewOfficial Website

Ck Editor is a set of ready-to-use rich text editors created with a powerful framework. Made with real-time collaborative editing in mind.

Javascript
<!-- ckeditor -->
<script src="assets/libs/@ckeditor/ckeditor5-build-classic/build/ckeditor.js"></script>
Initjs (Custom js)
<!-- init js -->
<script src="assets/js/pages/form-editor.init.js"></script>
Add Package
yarn add @ckeditor/ckeditor5-build-classic --save
Remove Package
yarn remove @ckeditor/ckeditor5-build-classic or you can remove package by removing specific package from package.json
Examples
Title Javascript
CK Editor
var ckClassicEditor = document.querySelectorAll(".ckeditor-classic")
    ckClassicEditor.forEach(function () {
        ClassicEditor
    .create( document.querySelector( '.ckeditor-classic' ) )
    .then( function(editor) {
        editor.ui.view.editable.element.style.height = '200px';
    } )
    .catch( function(error) {
        console.error( error );
    } );
});

© Velzon.
Design & Develop by Themesbrand