1.0.8 • Published 6 years ago

tuk-ckeditor5-classic v1.0.8

Weekly downloads
34
License
-
Repository
github
Last release
6 years ago

CKEditor 5 classic editor build

Join the chat at https://gitter.im/ckeditor/ckeditor5 npm version Build Status Dependency Status devDependency Status

The classic editor build for CKEditor 5. Read more about the classic editor build and see the demo.

CKEditor 5 classic editor build screenshot

Documentation

First, install the build from npm:

git clone https://github.com/turganbai/ckeditor5-tuk.git
cd ckeditor5-tuk                                    
npm install                                         
npm install --save tuk-ckeditor5-classic

And use it in your website:

<div id="editor">
	<p>This is the editor content.</p>
</div>

Or in your JavaScript application:

import ClassicEditor from 'tuk-ckeditor5-classic';

ClassicEditor.defaultConfig = {
	toolbar: {
        items: [
            'heading',
            'custom_heading',
            'bold',
            'italic',
            'link',
            'bulletedList',
            'numberedList',
            'imageUpload',
            'blockQuote',
            'insertTable',
            'mediaEmbed',
            'undo',
            'redo',
            'alignment',
            'show_tools',
        ]
    },
    image: {
        toolbar: [
            'imageStyle:full',
            'imageStyle:side',
            '|',
            'imageTextAlternative'
        ]
    },
    table: {
        contentToolbar: [
            'tableColumn',
            'tableRow',
            'mergeTableCells'
        ]
    },
    language: 'en',
};

ClassicEditor
	.create( document.querySelector( '#editor' ) )
	.then( editor => {
		window.editor = editor;
	} )
	.catch( err => {
		console.error( err.stack );
	} );
1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago