Answer the question
In order to leave comments, you need to log in
How to properly connect plugins to kceditor?
Good day! Dear! Please do not drive to read the dock, but tell me how to connect plugins.
In general, I downloaded and connected kceditor to the page, attached it to the textarea by:
<textarea id="editor" class="text" name="text"></textarea>
<script type="text/javascript">
CKEDITOR.replace( 'editor' );
</script>
CKEDITOR.editorConfig = function( config ) {
config.extraPlugins = 'quicktable';
};
CKEDITOR.editorConfig = function( config ) {
config.extraPlugins = 'quicktable';
config.extraPlugins = 'youtube';
config.toolbar = [{ name: 'insert', items: ['Image', 'Youtube']}];
};
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question