您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

fos_ckeditor.yaml 1013B

123456789101112131415161718192021222324
  1. # Read the documentation: https://symfony.com/doc/current/bundles/FOSCKEditorBundle/index.html
  2. fos_ck_editor:
  3. input_sync: true
  4. default_config: base_config
  5. configs:
  6. base_config:
  7. filebrowserBrowseRoute: file_manager
  8. filebrowserBrowseRouteParameters:
  9. conf: default
  10. module: ckeditor
  11. format_tags: 'p;h2;h3'
  12. toolbar:
  13. - { name: "styles", items: ['Bold', 'Italic','Underline', 'Strike']}
  14. - { name: "paragraph", items: ['Format', 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote'] }
  15. - { name: "link", items: [ 'Link', 'Unlink'] }
  16. - {name: 'insert', items: [ 'Image' ]}
  17. - {name: 'document', items: [ 'Source' ]}
  18. simple_config:
  19. toolbar:
  20. - { items: ['Bold', 'Italic', 'Underline', 'Colors', 'Source'] }
  21. twig:
  22. form_themes:
  23. - '@FOSCKEditor/Form/ckeditor_widget.html.twig'