From 8eb78a340124486d3a8cdb7b4f2233ab4474952a Mon Sep 17 00:00:00 2001 From: Farzad Hayatbakhsh Date: Tue, 24 Dec 2024 15:56:54 +1000 Subject: [PATCH 1/7] DOC-1928: Fix advcode live demo table width --- modules/ROOT/examples/live-demos/advcode/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/examples/live-demos/advcode/index.html b/modules/ROOT/examples/live-demos/advcode/index.html index eab04392e4..780f9718d5 100644 --- a/modules/ROOT/examples/live-demos/advcode/index.html +++ b/modules/ROOT/examples/live-demos/advcode/index.html @@ -1,4 +1,4 @@ - +
From 866c0e5c77ded1b4aafaf9285947a35b6bf49918 Mon Sep 17 00:00:00 2001 From: Farzad Hayatbakhsh Date: Tue, 24 Dec 2024 16:00:33 +1000 Subject: [PATCH 2/7] DOC-1928: Fix advcode options level offset --- modules/ROOT/pages/advcode.adoc | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/modules/ROOT/pages/advcode.adoc b/modules/ROOT/pages/advcode.adoc index 5e22972cfc..ba56503463 100644 --- a/modules/ROOT/pages/advcode.adoc +++ b/modules/ROOT/pages/advcode.adoc @@ -10,9 +10,11 @@ include::partial$misc/admon-premium-plugin.adoc[] [TIP] -As of {productname} 7.0, the Advanced Code Editor plugin has been renamed to {pluginname}. When adding {pluginname} in your editor, continue to use {plugincode}. +==== +As of {productname} 7.0, the Advanced Code Editor plugin has been renamed to {pluginname}. When adding {pluginname} in your editor, continue to use `{plugincode}`. +==== -The xref:advcode.adoc[Enhanced Code Editor] plugin (`+advcode+`) brings a more advanced code editor to {productname}. This code editor makes it easier to modify the HTML, and is a useful add-on for power users. It comes with features often found in IDEs, all enabled by default: +The {pluginname} plugin (`{plugincode}`) brings a more advanced code editor to {productname}. This code editor makes it easier to modify the HTML, and is a useful add-on for power users. It comes with features often found in IDEs, all enabled by default: * Syntax color highlighting. * Bracket matching. @@ -23,7 +25,10 @@ The xref:advcode.adoc[Enhanced Code Editor] plugin (`+advcode+`) brings a more a * Increase and decrease display font size buttons. * Full-screen mode button. -NOTE: For the {pluginname} to offer a full-screen mode requires the xref:fullscreen.adoc[Full screen] plugin and requires {pluginname} to be running in xref:advcode.adoc#advcode_inline[inline mode]. +[NOTE] +==== +For the {pluginname} to offer a full-screen mode requires the xref:fullscreen.adoc[Full screen] plugin and requires {pluginname} to be running in `xref:advcode.adoc#advcode_inline[advcode_inline]` mode. +==== == The difference between the Code and Enhanced Code Editor plugins @@ -58,7 +63,11 @@ tinymce.init({ include::partial$misc/code-dialog-and-selection-state.adoc[] -include::partial$configuration/advcode.adoc[] +== Options + +The following configuration options affect the behavior of the {pluginname} plugin. + +include::partial$configuration/advcode.adoc[leveloffset=+1] include::partial$misc/advcode-shortcuts.adoc[] From 7af1400fc233012ff77cc48bc7487ea8ffcc149f Mon Sep 17 00:00:00 2001 From: Farzad Hayatbakhsh Date: Tue, 24 Dec 2024 16:03:42 +1000 Subject: [PATCH 3/7] DOC-1928: Fix typography options level offset --- modules/ROOT/pages/advanced-typography.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/advanced-typography.adoc b/modules/ROOT/pages/advanced-typography.adoc index 2e249b6c30..ea33be71c7 100644 --- a/modules/ROOT/pages/advanced-typography.adoc +++ b/modules/ROOT/pages/advanced-typography.adoc @@ -85,7 +85,7 @@ tinymce.init({ The following configuration options affect the behavior of the {pluginname} plugin. -include::partial$configuration/advanced-typography.adoc[] +include::partial$configuration/advanced-typography.adoc[leveloffset=+1] include::partial$misc/plugin-toolbar-button-id-boilerplate.adoc[] From 02e916f8f3f539b95dafa6a45122df40b8d3a2b5 Mon Sep 17 00:00:00 2001 From: Farzad Hayatbakhsh Date: Tue, 24 Dec 2024 16:08:34 +1000 Subject: [PATCH 4/7] DOC-1928: Fix editimage toolbar button level offset --- modules/ROOT/pages/editimage.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/editimage.adoc b/modules/ROOT/pages/editimage.adoc index 5519122321..83ecdfe0c8 100644 --- a/modules/ROOT/pages/editimage.adoc +++ b/modules/ROOT/pages/editimage.adoc @@ -73,7 +73,7 @@ include::partial$configuration/editimage_toolbar.adoc[leveloffset=+1] include::partial$configuration/editimage_upload_timeout.adoc[leveloffset=+1] -include::partial$misc/plugin-toolbar-button-id-boilerplate.adoc[leveloffset=+1] +include::partial$misc/plugin-toolbar-button-id-boilerplate.adoc[] == Commands From 8429c57d809aece44094e94adb56c3cec1183202 Mon Sep 17 00:00:00 2001 From: Farzad Hayatbakhsh Date: Tue, 24 Dec 2024 16:08:40 +1000 Subject: [PATCH 5/7] DOC-1928: Fix markdown options level offset --- modules/ROOT/pages/markdown.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/markdown.adoc b/modules/ROOT/pages/markdown.adoc index 721075b526..5a761b6b1b 100644 --- a/modules/ROOT/pages/markdown.adoc +++ b/modules/ROOT/pages/markdown.adoc @@ -61,7 +61,7 @@ liveDemo::{plugincode}[] The following configuration options affect the behavior of the {pluginname} plugin. -include::partial$configuration/markdown.adoc[][leveloffset=+1] +include::partial$configuration/markdown.adoc[leveloffset=+1] == Commands From b0490cbdb4d7a37b12a7a1c63f909c300e2597c3 Mon Sep 17 00:00:00 2001 From: Farzad Hayatbakhsh Date: Tue, 24 Dec 2024 16:10:58 +1000 Subject: [PATCH 6/7] DOC-1928: Fix accordion options level offset --- modules/ROOT/pages/accordion.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ROOT/pages/accordion.adoc b/modules/ROOT/pages/accordion.adoc index 65d5798cfd..c9c882bf3e 100644 --- a/modules/ROOT/pages/accordion.adoc +++ b/modules/ROOT/pages/accordion.adoc @@ -36,9 +36,9 @@ tinymce.init({ The following configuration options affect the behavior of the {pluginname} plugin. -include::partial$configuration/details_initial_state.adoc[][leveloffset=+1] +include::partial$configuration/details_initial_state.adoc[leveloffset=+1] -include::partial$configuration/details_serialized_state.adoc[][leveloffset=+1] +include::partial$configuration/details_serialized_state.adoc[leveloffset=+1] include::partial$misc/plugin-toolbar-button-id-boilerplate.adoc[] From 26f1949adbba361665db578c1d140f23ff51f886 Mon Sep 17 00:00:00 2001 From: Farzad Hayatbakhsh Date: Tue, 24 Dec 2024 16:11:49 +1000 Subject: [PATCH 7/7] DOC-1928: Fix exportword commands level offset --- modules/ROOT/pages/exportword.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/exportword.adoc b/modules/ROOT/pages/exportword.adoc index f633967941..2c0da6a18a 100644 --- a/modules/ROOT/pages/exportword.adoc +++ b/modules/ROOT/pages/exportword.adoc @@ -81,7 +81,7 @@ include::partial$configuration/exportword_converter_style.adoc[leveloffset=+1] The {pluginname} plugin provides the following {productname} commands. -include::partial$commands/exportword-cmds.adoc[][leveloffset=+1] +include::partial$commands/exportword-cmds.adoc[] == API Reference

The Code Plugin