Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 5.72 KB | None | 0 0
  1. ivory_ck_editor:
  2.     default_config: default
  3.     toolbars:
  4.         configs:
  5.             commerce_description:
  6.                - '@full.document'
  7.                 - '@full.clipboard'
  8.                 - '@full.editing'
  9.                 - '@full.forms'
  10.                 - '/'
  11.                 - '@full.basic_styles'
  12.                 - '@full.paragraph'
  13.                 - '@full.links'
  14.                 - '@full.insert'
  15.                 - '/'
  16.                 - '@full.styles'
  17.                 - '@full.colors'
  18.                 - '@full.tools'
  19.                 - '@full.about'
  20.  
  21.         items:
  22.             basic.basic_styles:    ['Bold', 'Italic']
  23.             basic.links:           ['Link', 'Unlink']
  24.             basic.paragraph:       ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent']
  25.             standard.about:        ['Styles', 'Format']
  26.             standard.basic_styles: ['Bold', 'Italic', 'Strike', '-', 'RemoveFormat']
  27.             standard.clipboard:    ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo']
  28.             standard.document:     ['Source', '-', 'NewPage']
  29.             standard.editing:      ['Scayt']
  30.             standard.links:        ['Link', 'Unlink', 'Anchor']
  31.             standard.insert:       ['Image', 'Table', 'HorizontalRule', 'SpecialChar']
  32.             standard.paragraph:    ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote']
  33.             standard.tools:        ['Maximize']
  34.             full.about:            []
  35.             full.basic_styles:     ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat']
  36.             full.clipboard:        ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo']
  37.             full.colors:           ['TextColor', 'BGColor']
  38.             full.document:         ['Source', '-', 'NewPage', 'Preview', 'Print', '-', 'Templates']
  39.             full.editing:          ['Find', 'Replace', '-', 'SelectAll', '-', 'Scayt']
  40.             full.forms:            ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'SelectField', 'Button', 'ImageButton', 'HiddenField']
  41.             full.insert:           ['Image', 'Flash', 'Table', 'HorizontalRule', 'SpecialChar', 'Smiley', 'PageBreak', 'Iframe']
  42.             full.links:            ['Link', 'Unlink', 'Anchor']
  43.             full.paragraph:        ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl']
  44.             full.styles:           ['Styles', 'Format', 'Font', 'FontSize', 'TextColor', 'BGColor']
  45.             full.tools:            ['Maximize', 'ShowBlocks']
  46.  
  47.     configs:
  48.         default:
  49.             toolbar: standard
  50. #                - [Bold, Italic, Underline, -, Cut, Copy, Paste, PasteText, PasteFromWord, -, Undo, Redo, -, NumberedList, BulletedList, -, Outdent, Indent, -, Blockquote, -, Image, Link, Unlink, Table]
  51. #                - [Format, Maximize, Source]
  52.             filebrowserBrowseRoute: admin_sonata_media_media_ckeditor_browser
  53.             filebrowserImageBrowseRoute: admin_sonata_media_media_ckeditor_browser
  54.             # Display images by default when clicking the image dialog browse button
  55.             filebrowserImageBrowseRouteParameters:
  56.                 provider: sonata.media.provider.image
  57.             filebrowserUploadRoute: admin_sonata_media_media_ckeditor_upload
  58.             filebrowserUploadRouteParameters:
  59.                 provider: sonata.media.provider.file
  60.             # Upload file as image when sending a file from the image dialog
  61.             filebrowserImageUploadRoute: admin_sonata_media_media_ckeditor_upload
  62.             filebrowserImageUploadRouteParameters:
  63.                 provider: sonata.media.provider.image
  64.                 context: default
  65.  
  66.         post:
  67.             removePlugins: 'iframe'
  68.             allowedContent: true
  69.             extraPlugins: 'calc,youtube'
  70.             toolbar:
  71.                - ['Source', '-', 'NewPage']
  72.                 - ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo']
  73.                 - ['Find', 'Replace', '-', 'SelectAll']
  74.                 - ['Bold', 'Italic', 'Underline', 'Strike', 'RemoveFormat']
  75.                 - '/'
  76.                 - ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-']
  77.                 - ['Link', 'Unlink']
  78.                 - ['Youtube']
  79.                 - ['Image', 'Table', 'HorizontalRule']
  80.                 - ['Format']
  81.                 - ['Maximize', 'ShowBlocks']
  82.                 - ['calc']
  83.  
  84.             filebrowserBrowseRoute: admin_sonata_media_media_ckeditor_browser
  85.             filebrowserImageBrowseRoute: admin_sonata_media_media_ckeditor_browser
  86.             # Display images by default when clicking the image dialog browse button
  87.             filebrowserImageBrowseRouteParameters:
  88.                 provider: sonata.media.provider.image
  89.             filebrowserUploadRoute: admin_sonata_media_media_ckeditor_upload
  90.             filebrowserUploadRouteParameters:
  91.                 provider: sonata.media.provider.file
  92.             # Upload file as image when sending a file from the image dialog
  93.             filebrowserImageUploadRoute: admin_sonata_media_media_ckeditor_upload
  94.             filebrowserImageUploadRouteParameters:
  95.                 provider: sonata.media.provider.image
  96.                 context: default
  97.  
  98.     plugins:
  99.         youtube:
  100.             path: "bundles/ckeditor/ckeditor/plugins/youtube/"
  101.             filename: "plugin.js"
  102.  
  103.         calc:
  104.             path:    'bundles/ckeditor/ckeditor/plugins/calc/'
  105.             filename: 'plugin.js'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement