From 4b93611749136f7cee12082068cc733d9138a632 Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Wed, 18 Mar 2026 14:05:56 +1000 Subject: [PATCH] Docs: DOC-3243 - The noneditable feature can now be disabled with the new allow_noneditable option. --- modules/ROOT/pages/8.4.0-release-notes.adoc | 7 +++++++ .../pages/non-editable-content-options.adoc | 3 +++ .../configuration/allow_noneditable.adoc | 18 ++++++++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 modules/ROOT/partials/configuration/allow_noneditable.adoc diff --git a/modules/ROOT/pages/8.4.0-release-notes.adoc b/modules/ROOT/pages/8.4.0-release-notes.adoc index 9d8d4ba772..3cced8ba4c 100644 --- a/modules/ROOT/pages/8.4.0-release-notes.adoc +++ b/modules/ROOT/pages/8.4.0-release-notes.adoc @@ -125,6 +125,13 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a // CCFR here. +=== The noneditable feature can now be disabled with the new `allow_noneditable` option. +// #TINY-10121 + +Previously, the noneditable plugin was converted to a feature in core in {productname} 6. The feature was always enabled with no documented way to turn it off, which was not always desirable for integrators. + +In {productname} {release-version}, a new xref:non-editable-content-options.adoc#allow_noneditable[`+allow_noneditable+`] option is available. It is enabled by default. When set to `+false+`, the noneditable feature is disabled, equivalent to disabling the plugin prior to {productname} 6. + [[changes]] == Changes diff --git a/modules/ROOT/pages/non-editable-content-options.adoc b/modules/ROOT/pages/non-editable-content-options.adoc index b8a4c15512..b4bb8f75ec 100644 --- a/modules/ROOT/pages/non-editable-content-options.adoc +++ b/modules/ROOT/pages/non-editable-content-options.adoc @@ -13,6 +13,9 @@ liveDemo::editable-class-and-editable-root[] [NOTE] Visit xref:ie-template-creation.adoc[Template creation example] for a practical example of multi-root editing. +// allow_noneditable +include::partial$configuration/allow_noneditable.adoc[] + // noneditable_class include::partial$configuration/noneditable_class.adoc[] diff --git a/modules/ROOT/partials/configuration/allow_noneditable.adoc b/modules/ROOT/partials/configuration/allow_noneditable.adoc new file mode 100644 index 0000000000..597ac1cab3 --- /dev/null +++ b/modules/ROOT/partials/configuration/allow_noneditable.adoc @@ -0,0 +1,18 @@ +[[allow_noneditable]] +== `+allow_noneditable+` + +This option controls whether the non-editable content feature is enabled. When set to `+false+`, the non-editable feature is disabled entirely, equivalent to disabling the `noneditable` plugin prior to {productname} 6. + +*Type:* `+Boolean+` + +*Default value:* `+true+` + +=== Example: using `+allow_noneditable+` + +[source,js] +---- +tinymce.init({ + selector: 'textarea', // change this value according to your HTML + allow_noneditable: false +}); +----