UNPKG

@binay7587/ckeditor5-full-free

Version:

Powerful rich text editor framework with a modular architecture, modern integrations, and features like collaborative editing.

22 lines (20 loc) 648 B
// createDialog().then(config => { // return ClassicEditor // .create(document.querySelector('.editor'), { // licenseKey: config.licenseKey // }) // .then(editor => { // window.editor = editor; // }) // .catch(error => { // console.error('There was a problem initializing the editor.', error); // }); // }); ClassicEditor .create(document.querySelector('.editor')) .then(editor => { window.editor = editor; }) .catch(error => { console.error('There was a problem initializing the editor.', error); });