Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions modules/ROOT/pages/8.4.0-release-notes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions modules/ROOT/pages/non-editable-content-options.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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[]

Expand Down
18 changes: 18 additions & 0 deletions modules/ROOT/partials/configuration/allow_noneditable.adoc
Original file line number Diff line number Diff line change
@@ -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
});
----
Loading