Skip to content

Commit

Permalink
DOC-2245 update docs to reflect new highlight_on_focus default being …
Browse files Browse the repository at this point in the history
…true
  • Loading branch information
FarzadHayat committed Feb 15, 2024
1 parent fc83f20 commit 6c17ae2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions modules/ROOT/partials/configuration/highlight_on_focus.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@

include::partial$misc/admon-requires-6.4v.adoc[]

[NOTE]
In {productname} 7.0, the default setting for `highlight_on_focus` was changed from `false` to `true`. Any editors using this `highlight_on_focus: true` option in {productname} , can remove this option from their {productname} init configuration when upgrading to {productname} 7.0.

The `+highlight_on_focus+` option adds a blue outline to an instantiated {productname} editor when that editor is made the input focus. When using the `oxide-dark` skin, the outline is white.

This allows users to clearly see when the editor is in focus, or which editor has focus if more than one {productname} instance is available.

*Type:* `+Boolean+`

*Default value:* `+false+`
*Default value:* `+true+`

*Possible values:* `+true+`, `+false+`

Expand All @@ -19,7 +22,7 @@ This allows users to clearly see when the editor is in focus, or which editor ha
----
tinymce.init({
selector: "textarea",
highlight_on_focus: true
highlight_on_focus: false
});
----

Expand Down

0 comments on commit 6c17ae2

Please sign in to comment.