diff --git a/core/modules/ckeditor/help_topics/ckeditor.configuring.html.twig b/core/modules/ckeditor/help_topics/ckeditor.configuring.html.twig new file mode 100644 index 0000000000..bc0f1d5608 --- /dev/null +++ b/core/modules/ckeditor/help_topics/ckeditor.configuring.html.twig @@ -0,0 +1,9 @@ + + +{% set formats = render_var(url('filter.admin_overview')) %} +{% set user_guide = render_var('https://www.drupal.org/docs/user_guide/en/structure-text-format-config.html') %} + +

{% trans %}Enabling CKEditor for individual text formats{% endtrans %}

+

{% trans %}CKEditor has to be enabled and configured separately for individual text formats from the Text formats and editors page because the filter settings for each text format can be different.{% endtrans %}

+

{% trans %}Configuring the toolbar{% endtrans %}

+

{% trans %}When CKEditor is chosen from the Text editor drop-down menu, its toolbar configuration is displayed. You can add and remove buttons from the Active toolbar by dragging and dropping them, and additional rows can be added to organize the buttons. For more information, see the User guide section on text formats and editors

{% endtrans %} diff --git a/core/modules/ckeditor/help_topics/ckeditor.formatting_text.html.twig b/core/modules/ckeditor/help_topics/ckeditor.formatting_text.html.twig new file mode 100644 index 0000000000..1dd9a25b86 --- /dev/null +++ b/core/modules/ckeditor/help_topics/ckeditor.formatting_text.html.twig @@ -0,0 +1,18 @@ + + +{% set formats = render_var(url('filter.admin_overview')) %} +{% set user_guide = render_var('https://www.drupal.org/docs/user_guide/en/structure-text-format-config.html') %} +{% set ckeditor_ally = render_var('http://docs.ckeditor.com/#!/guide/dev_a11y') %} +{% set ckeditor_shortcuts = render_var('http://docs.ckeditor.com/#!/guide/dev_shortcuts') %} + +

Formatting content

+

CKEditor only allow users to format content in accordance with the filter configuration of the specific text format. If a text format excludes certain HTML tags, the corresponding toolbar buttons are not displayed to users when they edit a text field in this format.

+

Toggling between formatted text and HTML source

+

If the Source button is available in the toolbar, users can click this button to disable the visual editor and edit the HTML source directly. After toggling back, the visual editor uses the allowed HTML tags to format the text — independent of whether buttons for these tags are available in the toolbar. If the text format is set to limit the use of HTML tags, then all excluded tags will be stripped out of the HTML source when the user toggles back to the text editor.

+

Check my spelling as I type

+

By default, CKEditor is configured to leverage your browser's spell check capability. Make sure your browser's spell checker is enabled in your browser's settings. To access suggested corrections for misspelled words, it may be necessary to hold the Control or command (Mac) key while right-clicking the misspelling.

+

Accessibility features

+

The built in WYSIWYG editor (CKEditor) comes with a number of accessibility features. CKEditor comes with built in keyboard shortcuts, which can be beneficial for both power users and keyboard only users.

+

Generating accessible content

+

HTML tables can be created with both table headers as well as caption/summary elements. Alt text is required by default on images added through CKEditor (note that this can be overridden). Semantic HTML5 figure/figcaption are available to add captions to images.

+

For more information, see the User guide section on text formats and editors

diff --git a/core/modules/ckeditor/help_topics/ckeditor.what_is.html.twig b/core/modules/ckeditor/help_topics/ckeditor.what_is.html.twig new file mode 100644 index 0000000000..9894e149d4 --- /dev/null +++ b/core/modules/ckeditor/help_topics/ckeditor.what_is.html.twig @@ -0,0 +1,7 @@ + + +{% set user_guide = render_var('https://www.drupal.org/docs/user_guide/en/structure-text-formats.html') %} +{% set ckeditor = render_var('http://ckeditor.com') %} + +

{% trans %}CKEditor is a highly-accessible, highly-usable visual text editor that adds a toolbar to text fields. Users can use buttons to format content and to create semantically correct and valid HTML. It requires JavaScript to be enabled in the browser. For more information, see the User guide section on text formats and editors and the CKEditor website. + {% endtrans %}

diff --git a/core/modules/help_topics/help_topics/core.formatting_text.html.twig b/core/modules/help_topics/help_topics/core.formatting_text.html.twig new file mode 100644 index 0000000000..bc7d51b09f --- /dev/null +++ b/core/modules/help_topics/help_topics/core.formatting_text.html.twig @@ -0,0 +1,3 @@ + + +

{% trans %}The topics listed here will help you formatting text in your website.{% endtrans %}