You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

39 lines
1.0 KiB

  1. /**
  2. * Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.html or http://ckeditor.com/license
  4. */
  5. // This file contains style definitions that can be used by CKEditor plugins.
  6. //
  7. // The most common use for it is the "stylescombo" plugin, which shows a combo
  8. // in the editor toolbar, containing all styles. Other plugins instead, like
  9. // the div plugin, use a subset of the styles on their feature.
  10. //
  11. // If you don't have plugins that depend on this file, you can simply ignore it.
  12. // Otherwise it is strongly recommended to customize this file to match your
  13. // website requirements and design properly.
  14. CKEDITOR.stylesSet.add( 'default', [
  15. { name: 'Code Text', element: 'code' },
  16. /* Object Styles */
  17. {
  18. name: 'Code Block',
  19. element: 'pre',
  20. attributes: { 'class': 'code' }
  21. },
  22. {
  23. name: 'File Block',
  24. element: 'pre',
  25. attributes: { 'class': 'file' }
  26. },
  27. {
  28. name: 'Remove Block',
  29. element: 'p',
  30. },
  31. ]);