JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
998 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi!
I have an implementation of DecoupledEditor CKEditor 5 in my project:
<script src="https://cdn.ckeditor.com/ckeditor5/38.1.1/decoupled-document/ckeditor.js"></script>
DecoupledEditor
.create( document.querySelector( '#editor' ), {
extraPlugins: [ MyCustomUploadAdapterPlugin ],
toolbar: {
items: [
'undo', 'redo',
'|', 'fontfamily', 'fontsize', 'fontColor', 'fontBackgroundColor',
'|', 'bold', 'italic', 'underline', 'strikethrough', 'subscript', 'superscript', 'code',
'|', 'alignment', 'specialCharacters',
'link', 'uploadImage', 'blockQuote', 'codeBlock', 'mediaEmbed', 'insertTable',
'|', 'bulletedList', 'numberedList', 'todoList', 'outdent', 'indent'
]
}
} )
.then( editor => {
const toolbarContainer = document.querySelector( '#editor-toolbar-container' );
toolbarContainer.appendChild( editor.ui.view.toolbar.element );
But not all buttons are displayed in the toolbar.
There is no code, specialCharacters, codeBlock and so on.
It's the same if I use the ClassicEditor.
Why are these buttons missing and how do I install them?
Thanks!
Everything was solved with CKEditor technical support. The quesiton is closed.