From d93852c5897ed86c1fc209ef60a30c2e43581e37 Mon Sep 17 00:00:00 2001 From: Farzad Hayatbakhsh Date: Thu, 19 Dec 2024 16:17:15 +1000 Subject: [PATCH 01/13] DOC-1928: Replace "html" with "HTML" in code block comments --- .../configuration/a11ychecker_filter_issue.adoc | 6 +++--- .../a11ychecker_issue_url_callback.adoc | 2 +- .../partials/configuration/advanced-typography.adoc | 10 +++++----- .../configuration/advlist_bullet_styles.adoc | 2 +- .../configuration/advtable_value_series.adoc | 4 ++-- .../configuration/advtemplate_create_category.adoc | 2 +- .../configuration/advtemplate_create_template.adoc | 2 +- .../configuration/advtemplate_delete_category.adoc | 2 +- .../configuration/advtemplate_delete_template.adoc | 2 +- .../configuration/advtemplate_get_template.adoc | 2 +- .../partials/configuration/advtemplate_list.adoc | 2 +- .../advtemplate_move_category_items.adoc | 2 +- .../configuration/advtemplate_move_template.adoc | 2 +- .../configuration/advtemplate_rename_category.adoc | 2 +- .../configuration/advtemplate_rename_template.adoc | 2 +- .../configuration/advtemplate_templates.adoc | 2 +- .../ROOT/partials/configuration/ai_shortcuts.adoc | 2 +- .../configuration/convert_unsafe_embeds.adoc | 2 +- .../configuration/details_initial_state.adoc | 2 +- .../configuration/details_serialized_state.adoc | 2 +- .../partials/configuration/fullscreen_native.adoc | 2 +- .../partials/configuration/help_accessibility.adoc | 4 ++-- .../partials/configuration/iframe_aria_text.adoc | 2 +- .../configuration/importcss_merge_classes.adoc | 2 +- .../partials/configuration/pad_empty_with_br.adoc | 2 +- .../configuration/powerpaste_html_import.adoc | 2 +- .../ROOT/partials/configuration/sandbox_iframes.adoc | 2 +- .../configuration/table_column_resizing.adoc | 2 +- modules/ROOT/partials/configuration/text_color.adoc | 12 ++++++------ .../partials/configuration/tinycomments_author.adoc | 2 +- .../configuration/tinycomments_author_avatar.adoc | 2 +- .../configuration/tinycomments_author_name.adoc | 2 +- .../configuration/tinycomments_can_delete.adoc | 2 +- .../tinycomments_can_delete_comment.adoc | 2 +- .../configuration/tinycomments_can_edit_comment.adoc | 2 +- .../configuration/tinycomments_can_resolve.adoc | 2 +- .../configuration/tinycomments_mentions_enabled.adoc | 2 +- .../partials/configuration/toolbar_location.adoc | 2 +- modules/ROOT/partials/configuration/toolbar_n.adoc | 2 +- 39 files changed, 52 insertions(+), 52 deletions(-) diff --git a/modules/ROOT/partials/configuration/a11ychecker_filter_issue.adoc b/modules/ROOT/partials/configuration/a11ychecker_filter_issue.adoc index b901d701ea..6a7e4bc33c 100644 --- a/modules/ROOT/partials/configuration/a11ychecker_filter_issue.adoc +++ b/modules/ROOT/partials/configuration/a11ychecker_filter_issue.adoc @@ -20,7 +20,7 @@ The callback function in the following example will return `false` if the issue [source,js] ---- tinymce.init({ - selector: 'textarea', // change this value according to your html + selector: 'textarea', // change this value according to your HTML plugins: 'a11ychecker', toolbar: 'a11ycheck', a11ychecker_filter_issue: (issue) => { @@ -36,7 +36,7 @@ The callback function in the following example will only return `+false+` if the [source,js] ---- tinymce.init({ - selector: 'textarea', // change this value according to your html + selector: 'textarea', // change this value according to your HTML plugins: 'a11ychecker', toolbar: 'a11ycheck', a11ychecker_filter_issue: (issue) => { @@ -52,7 +52,7 @@ The callback function in the following example will only return `false` for any [source,js] ---- tinymce.init({ - selector: 'textarea', // change this value according to your html + selector: 'textarea', // change this value according to your HTML plugins: 'a11ychecker', toolbar: 'a11ycheck', a11ychecker_filter_issue: (issue) => { diff --git a/modules/ROOT/partials/configuration/a11ychecker_issue_url_callback.adoc b/modules/ROOT/partials/configuration/a11ychecker_issue_url_callback.adoc index 2d8c53af01..7d6a068a64 100644 --- a/modules/ROOT/partials/configuration/a11ychecker_issue_url_callback.adoc +++ b/modules/ROOT/partials/configuration/a11ychecker_issue_url_callback.adoc @@ -18,7 +18,7 @@ This example shows how to change the link for the "Click for more info" button ( [source,js] ---- tinymce.init({ - selector: 'textarea', // change this value according to your html + selector: 'textarea', // change this value according to your HTML plugins: 'a11ychecker', toolbar: 'a11ycheck', a11ychecker_issue_url_callback: (ruleId) => diff --git a/modules/ROOT/partials/configuration/advanced-typography.adoc b/modules/ROOT/partials/configuration/advanced-typography.adoc index d8aaadfd88..1bdca8c49b 100644 --- a/modules/ROOT/partials/configuration/advanced-typography.adoc +++ b/modules/ROOT/partials/configuration/advanced-typography.adoc @@ -10,7 +10,7 @@ By setting up the `typography_default_lang`, each time the user opens the {produ [source,js,subs="attributes+"] ---- tinymce.init({ - selector: 'textarea', // change this value according to your html + selector: 'textarea', // change this value according to your HTML menu: { tools: { title: 'Tools', items: 'code wordcount typography' }}, plugins: 'typography', toolbar: 'typography', @@ -36,7 +36,7 @@ If an HTML tag or an HTML tag with a specified attribute is added to the `typogr [source,js,subs="attributes+"] ---- tinymce.init({ - selector: 'textarea', // change this value according to your html + selector: 'textarea', // change this value according to your HTML plugins: '{plugincode}', toolbar: 'typography', typography_default_lang: 'en-US', @@ -58,7 +58,7 @@ When setting up `typography_langs` in {productname}, `lang` values — such as ` [source,js,subs="attributes+"] ---- tinymce.init({ - selector: "textarea", // change this value according to your html + selector: "textarea", // change this value according to your HTML plugins: "typography", toolbar: "typography", typography_default_lang: [ "en-US", "de", "es" ], // Required to set specific typography language rules. @@ -80,7 +80,7 @@ A user can then select text and select from the available languages. That langua [source,js,subs="attributes+"] ---- tinymce.init({ - selector: 'textarea', // change this value according to your html + selector: 'textarea', // change this value according to your HTML plugins: '{plugincode}', toolbar: '{plugincode} language', typography_default_lang: 'en-US', @@ -200,7 +200,7 @@ All rules supported by the {pluginname} plugin are documented in the https://git [source,js,subs="attributes+"] ---- tinymce.init({ - selector: 'textarea', // change this value according to your html + selector: 'textarea', // change this value according to your HTML plugins: '{plugincode}', toolbar: '{plugincode}', typography_default_lang: 'en_US', // This is required to configure the default language used by typography. diff --git a/modules/ROOT/partials/configuration/advlist_bullet_styles.adoc b/modules/ROOT/partials/configuration/advlist_bullet_styles.adoc index d58ac41fd4..3746fcf53e 100644 --- a/modules/ROOT/partials/configuration/advlist_bullet_styles.adoc +++ b/modules/ROOT/partials/configuration/advlist_bullet_styles.adoc @@ -19,7 +19,7 @@ This option allows you to include specific unordered list item markers in the de [source,js] ---- tinymce.init({ - selector: 'textarea', // change this value according to your html + selector: 'textarea', // change this value according to your HTML plugins: 'lists advlist', toolbar: 'bullist', advlist_bullet_styles: 'square' // only include square bullets in list diff --git a/modules/ROOT/partials/configuration/advtable_value_series.adoc b/modules/ROOT/partials/configuration/advtable_value_series.adoc index b13fb1cf3f..f3821054f9 100644 --- a/modules/ROOT/partials/configuration/advtable_value_series.adoc +++ b/modules/ROOT/partials/configuration/advtable_value_series.adoc @@ -96,7 +96,7 @@ The generator callback function should return an object with the following prope [source,js] ---- tinymce.init({ - selector: 'textarea', // change this value according to your html + selector: 'textarea', // change this value according to your HTML plugins: 'table advtable', toolbar: 'advtablerownumbering', advtable_value_series: { @@ -117,7 +117,7 @@ tinymce.init({ [source,js] ---- tinymce.init({ - selector: "textarea", // change this value according to your html + selector: "textarea", // change this value according to your HTML plugins: 'table advtable', toolbar: "table advtablerownumbering", advtable_value_series: { diff --git a/modules/ROOT/partials/configuration/advtemplate_create_category.adoc b/modules/ROOT/partials/configuration/advtemplate_create_category.adoc index d0773614bc..604be44d9c 100644 --- a/modules/ROOT/partials/configuration/advtemplate_create_category.adoc +++ b/modules/ROOT/partials/configuration/advtemplate_create_category.adoc @@ -24,7 +24,7 @@ The plugin uses the `advtemplate_create_category` asynchronous function to creat [source,js] ---- tinymce.init({ - selector: 'textarea#advtemplate', // change this value according to your html + selector: 'textarea#advtemplate', // change this value according to your HTML plugins: ["advtemplate"], advtemplate_create_category: (title) => fetch('/categories', { diff --git a/modules/ROOT/partials/configuration/advtemplate_create_template.adoc b/modules/ROOT/partials/configuration/advtemplate_create_template.adoc index f42e41f791..3d55036b31 100644 --- a/modules/ROOT/partials/configuration/advtemplate_create_template.adoc +++ b/modules/ROOT/partials/configuration/advtemplate_create_template.adoc @@ -26,7 +26,7 @@ The plugin uses the `advtemplate_create_template` asynchronous function to creat [source,js] ---- tinymce.init({ - selector: 'textarea#advtemplate', // change this value according to your html + selector: 'textarea#advtemplate', // change this value according to your HTML plugins: ["advtemplate"], advtemplate_create_template: (title, content, categoryId) => fetch('/templates', { diff --git a/modules/ROOT/partials/configuration/advtemplate_delete_category.adoc b/modules/ROOT/partials/configuration/advtemplate_delete_category.adoc index bc15c03c54..8e5ac91d6a 100644 --- a/modules/ROOT/partials/configuration/advtemplate_delete_category.adoc +++ b/modules/ROOT/partials/configuration/advtemplate_delete_category.adoc @@ -20,7 +20,7 @@ Empty object `{}` [source,js] ---- tinymce.init({ - selector: 'textarea#advtemplate', // change this value according to your html + selector: 'textarea#advtemplate', // change this value according to your HTML plugins: ["advtemplate"], advtemplate_delete_category: (id) => fetch('/categories/' + id, { diff --git a/modules/ROOT/partials/configuration/advtemplate_delete_template.adoc b/modules/ROOT/partials/configuration/advtemplate_delete_template.adoc index 641be4f857..5fd9959af4 100644 --- a/modules/ROOT/partials/configuration/advtemplate_delete_template.adoc +++ b/modules/ROOT/partials/configuration/advtemplate_delete_template.adoc @@ -20,7 +20,7 @@ Empty object `{}` [source,js] ---- tinymce.init({ - selector: 'textarea#advtemplate', // change this value according to your html + selector: 'textarea#advtemplate', // change this value according to your HTML plugins: ["advtemplate"], advtemplate_delete_template: (id) => fetch('/templates/' + id, { diff --git a/modules/ROOT/partials/configuration/advtemplate_get_template.adoc b/modules/ROOT/partials/configuration/advtemplate_get_template.adoc index 1ea8167d1b..dbbc683368 100644 --- a/modules/ROOT/partials/configuration/advtemplate_get_template.adoc +++ b/modules/ROOT/partials/configuration/advtemplate_get_template.adoc @@ -27,7 +27,7 @@ The plugin uses the `advtemplate_get_template` asynchronous function to get a te [source,js] ---- tinymce.init({ - selector: 'textarea#advtemplate', // change this value according to your html + selector: 'textarea#advtemplate', // change this value according to your HTML plugins: ["advtemplate"], advtemplate_get_template: (id) => fetch('/templates/' + id, { diff --git a/modules/ROOT/partials/configuration/advtemplate_list.adoc b/modules/ROOT/partials/configuration/advtemplate_list.adoc index 34148ff307..74bd50ee27 100644 --- a/modules/ROOT/partials/configuration/advtemplate_list.adoc +++ b/modules/ROOT/partials/configuration/advtemplate_list.adoc @@ -15,7 +15,7 @@ None [source,js] ---- tinymce.init({ - selector: 'textarea#advtemplate', // change this value according to your html + selector: 'textarea#advtemplate', // change this value according to your HTML plugins: ["advtemplate"], advtemplate_list: () => fetch('/categories', { diff --git a/modules/ROOT/partials/configuration/advtemplate_move_category_items.adoc b/modules/ROOT/partials/configuration/advtemplate_move_category_items.adoc index 840931b590..01cb003129 100644 --- a/modules/ROOT/partials/configuration/advtemplate_move_category_items.adoc +++ b/modules/ROOT/partials/configuration/advtemplate_move_category_items.adoc @@ -21,7 +21,7 @@ Empty object `{}` [source,js] ---- tinymce.init({ - selector: 'textarea#advtemplate', // change this value according to your html + selector: 'textarea#advtemplate', // change this value according to your HTML plugins: ["advtemplate"], advtemplate_move_category_items: (oldCategoryId, newCategoryId) => fetch('/categories/' + oldCategoryId, { diff --git a/modules/ROOT/partials/configuration/advtemplate_move_template.adoc b/modules/ROOT/partials/configuration/advtemplate_move_template.adoc index 640c2fac1d..ea9e002814 100644 --- a/modules/ROOT/partials/configuration/advtemplate_move_template.adoc +++ b/modules/ROOT/partials/configuration/advtemplate_move_template.adoc @@ -21,7 +21,7 @@ Empty object `{}` [source,js] ---- tinymce.init({ - selector: 'textarea#advtemplate', // change this value according to your html + selector: 'textarea#advtemplate', // change this value according to your HTML plugins: ["advtemplate"], advtemplate_move_template: (templateId) => fetch('/templates/' + templateId, { diff --git a/modules/ROOT/partials/configuration/advtemplate_rename_category.adoc b/modules/ROOT/partials/configuration/advtemplate_rename_category.adoc index 2e69c8d551..cc363d406e 100644 --- a/modules/ROOT/partials/configuration/advtemplate_rename_category.adoc +++ b/modules/ROOT/partials/configuration/advtemplate_rename_category.adoc @@ -21,7 +21,7 @@ Empty object `{}` [source,js] ---- tinymce.init({ - selector: 'textarea#advtemplate', // change this value according to your html + selector: 'textarea#advtemplate', // change this value according to your HTML plugins: ["advtemplate"], advtemplate_rename_category: (id, title) => fetch('/categories/' + id, { diff --git a/modules/ROOT/partials/configuration/advtemplate_rename_template.adoc b/modules/ROOT/partials/configuration/advtemplate_rename_template.adoc index 895bc6a4b3..0201633535 100644 --- a/modules/ROOT/partials/configuration/advtemplate_rename_template.adoc +++ b/modules/ROOT/partials/configuration/advtemplate_rename_template.adoc @@ -21,7 +21,7 @@ Empty object `{}` [source,js] ---- tinymce.init({ - selector: 'textarea#advtemplate', // change this value according to your html + selector: 'textarea#advtemplate', // change this value according to your HTML plugins: ["advtemplate"], advtemplate_rename_template: (id, title) => fetch('/templates/' + id, { diff --git a/modules/ROOT/partials/configuration/advtemplate_templates.adoc b/modules/ROOT/partials/configuration/advtemplate_templates.adoc index 260c73a89c..09476d40c6 100644 --- a/modules/ROOT/partials/configuration/advtemplate_templates.adoc +++ b/modules/ROOT/partials/configuration/advtemplate_templates.adoc @@ -17,7 +17,7 @@ The template list assigned to the `advtemplate_templates` option must adhere to [source,js] ---- tinymce.init({ - selector: 'textarea#advtemplate', // change this value according to your html + selector: 'textarea#advtemplate', // change this value according to your HTML plugins: "advtemplate", toolbar: "inserttemplate", advtemplate_templates: [ diff --git a/modules/ROOT/partials/configuration/ai_shortcuts.adoc b/modules/ROOT/partials/configuration/ai_shortcuts.adoc index c3fdc64ac1..ea7e58286c 100644 --- a/modules/ROOT/partials/configuration/ai_shortcuts.adoc +++ b/modules/ROOT/partials/configuration/ai_shortcuts.adoc @@ -75,7 +75,7 @@ Also, the default {pluginname} shortcuts are subject to change. If you prefer to [source,js] ---- tinymce.init({ - selector: 'textarea', // change this value according to your html + selector: 'textarea', // change this value according to your HTML plugins: 'ai', toolbar: 'aidialog aishortcuts', ai_request: (request, respondWith) => respondWith.string(() => Promise.reject("See docs to implement AI Assistant")), diff --git a/modules/ROOT/partials/configuration/convert_unsafe_embeds.adoc b/modules/ROOT/partials/configuration/convert_unsafe_embeds.adoc index 33509afa72..29da33a8e3 100644 --- a/modules/ROOT/partials/configuration/convert_unsafe_embeds.adoc +++ b/modules/ROOT/partials/configuration/convert_unsafe_embeds.adoc @@ -16,7 +16,7 @@ When converted to ``, `