CK Editor

<script src="https://cdn.ckeditor.com/4.5.7/standard/ckeditor.js"></script>

<script type="text/javascript">

        $(function () {
// Replace the <textarea id="editor1"> with a CKEditor
// instance, using default configuration.
CKEDITOR.replace( 'description', {
// toolbar: [
// { name: 'document', items: ['Source', '-', 'NewPage', 'Preview', '-', 'Templates' ] }, // Defines toolbar group with name (used to create voice label) and items in 3 subgroups.
// [ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo', 'Undo', 'Redo' , 'Undo', 'Redo', 'Undo', 'Redo', 'Undo'], // Defines toolbar group without name.
// '/', // Line break - next group will be placed in new line.
// { name: 'basicstyles', items: [ 'Bold', 'Italic' ] }
// ]
});
});
</script>

Comments

Popular posts from this blog

Git post receive setup at server for git push to the production from local machine

WP register_post_type() with custom CMB2 meta box