Advertisement
Mr_media

MyYaml

Nov 1st, 2020
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.59 KB | None | 0 0
  1. ####
  2. # My YAML ###
  3.  
  4. # Load default processing options
  5. imports:
  6. - { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" }
  7. - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" }
  8. - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" }
  9. #- { resource: "EXT:shufflemix_template_new/Configuration/RTE/ButtonClasses.yaml" }
  10.  
  11. # Add configuration for the editor
  12. # For complete documentation see http://docs.ckeditor.com/#!/api/CKEDITOR.config
  13. editor:
  14. config:
  15. # can be "default", but a custom stylesSet can be defined here, which fits TYPO3 best
  16. stylesSet:
  17. # block level styles
  18. - { name: "Orange title H2", element: "h2", styles: { color: "orange", background: "blue" } }
  19. - { name: "Orange title H3", element: "h3", styles: { color: "orange", background: "blue" } }
  20. - { name: "Quote / Citation", element: "blockquote" }
  21. - { name: "Code block", element: "code" }
  22. # Inline styles
  23. - { name: "Yellow marker", element: "span", styles: { background-color: "yellow" } }
  24. # Link styles
  25. - { name: "External Link", element: "a", attributes: { class: "external-link"} }
  26. - { name: "Arrow-link", element: "a", attributes: { class: "ecx-explore-arrow-link more d-flex align-items-center"} }
  27. - { name: "Red Button", element: "a", attributes: { class: "button large red_button"} }
  28.  
  29. format_tags: "p;h1;h2;h3;h4;h5;pre"
  30.  
  31. toolbarGroups:
  32. - { name: clipboard, groups: [clipboard, undo] }
  33. - { name: editing, groups: [find, selection, spellchecker] }
  34. - { name: links }
  35. - { name: insert }
  36. - { name: tools }
  37. - { name: table }
  38. - { name: tabletools }
  39. - { name: document, groups: [ mode, document, doctools ] }
  40. - { name: others }
  41. - "/"
  42. - { name: basicstyles, groups: [ basicstyles, align, cleanup ] }
  43. - { name: paragraph, groups: [ list, indent, blocks, align, bidi ] }
  44. - { name: specialcharacters, groups: [ insertcharacters ] }
  45. - "/"
  46. - { name: styles }
  47.  
  48.  
  49. justifyClasses:
  50. - text-left
  51. - text-center
  52. - text-right
  53. - text-justify
  54.  
  55. extraPlugins:
  56. - justify
  57. - font
  58. - find
  59. - bidi
  60. - selectall
  61. - autolink
  62. - wordcount
  63.  
  64. removePlugins:
  65. - image
  66.  
  67. allowTags:
  68. - s
  69. - u
  70. - link
  71. - a
  72.  
  73. removeButtons:
  74.  
  75. extraAllowedContent:
  76. - a[!href,document-href,tel]
  77.  
  78. # Allow s and u tag
  79. processing:
  80. allowTags:
  81. - s
  82. - u
  83. - link
  84. - a
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement