You are here

ckeditor5-settings-toolbar.html.twig in Drupal 10

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.

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 %}