Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. <script>
  2. CKEDITOR.replace( 'editor', {
  3. width: 795, height: 642,
  4. enterMode: CKEDITOR.ENTER_DIV,
  5. shiftEnterMode: CKEDITOR.ENTER_BR
  6. }
  7. );
  8. CKEDITOR.editorConfig = function( config ) {
  9. config.toolbarGroups = [
  10. { name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
  11. { name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
  12. { name: 'editing', groups: [ 'find', 'selection', 'spellchecker', 'editing' ] },
  13. { name: 'forms', groups: [ 'forms' ] },
  14. '/',
  15. { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
  16. { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi', 'paragraph' ] },
  17. { name: 'links', groups: [ 'links' ] },
  18. { name: 'insert', groups: [ 'insert' ] },
  19. '/',
  20. { name: 'styles', groups: [ 'styles' ] },
  21. { name: 'colors', groups: [ 'colors' ] },
  22. { name: 'tools', groups: [ 'tools' ] },
  23. { name: 'others', groups: [ 'others' ] },
  24. { name: 'about', groups: [ 'about' ] }
  25. ];
  26.  
  27. config.removeButtons = 'Source,Save,Templates,NewPage,Preview,Print,Flash,HorizontalRule,Smiley,PageBreak,Iframe,ShowBlocks,Maximize,About,Link,Unlink,Anchor,Language,CreateDiv';
  28. config.extraPlugins = 'tab'; };
  29.  
  30. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement