ckeditor5-settings-toolbar.html.twig

Same filename in other branches
  1. 9 core/modules/ckeditor5/templates/ckeditor5-settings-toolbar.html.twig
  2. 10 core/modules/ckeditor5/templates/ckeditor5-settings-toolbar.html.twig

Default theme implementation to display CKEditor 5 toolbar settings.

@internal This template is internal because it's used for rendering the CKEditor 5 toolbar settings UI in the Drupal admin UI. The toolbar settings UI is internal, and utilizing or overriding it outside of core usages is not supported because the UI can change at any point.

1 theme call to ckeditor5-settings-toolbar.html.twig
CKEditor5::buildConfigurationForm in core/modules/ckeditor5/src/Plugin/Editor/CKEditor5.php
Form constructor.

File

core/modules/ckeditor5/templates/ckeditor5-settings-toolbar.html.twig

View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to display CKEditor 5 toolbar settings.
  5. *
  6. * @internal
  7. * This template is internal because it's used for rendering the CKEditor 5
  8. * toolbar settings UI in the Drupal admin UI. The toolbar settings UI is
  9. * internal, and utilizing or overriding it outside of core usages is not
  10. * supported because the UI can change at any point.
  11. */
  12. #}
  13. {% apply spaceless %}
  14. <fieldset aria-labelledby="ckeditor5-toolbar-configuration" aria-describedby="ckeditor5-toolbar-description">
  15. <legend id="ckeditor5-toolbar-configuration">{{ 'Toolbar configuration'|t }}</legend>
  16. <div class="fieldset-wrapper">
  17. <div id="ckeditor5-toolbar-description" class="fieldset-description">
  18. {%- trans -%}
  19. Move a button into the <em>Active toolbar</em> to enable it, or into the list of <em>Available buttons</em> to disable it. Buttons may be moved with the mouse or keyboard arrow keys.
  20. {%- endtrans -%}
  21. </div>
  22. <div id="ckeditor5-toolbar-app"></div>
  23. {{ form }}
  24. </div>
  25. </fieldset>
  26. {% endapply %}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.