Skip to content

Commit

Permalink
Added default value to useComputedState in the CKEDITOR config object
Browse files Browse the repository at this point in the history
  • Loading branch information
Shabab Karim committed Oct 24, 2021
1 parent bb0a805 commit 02ef654
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions core/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,22 @@ CKEDITOR.config = {
*/
tabIndex: 0,

/**
* Indicates that some of the editor features, like alignment and text
* direction, should use the "computed value" of the feature to indicate its
* on/off state instead of using the "real value".
*
* If enabled in a Left-To-Right written document, the "Left Justify"
* alignment button will be shown as active, even if the alignment style is not
* explicitly applied to the current paragraph in the editor.
*
* config.useComputedState = false;
*
* @since 3.4.0
* @cfg {Boolean} [useComputedState=true]
*/
useComputedState: true,

/**
* The editor UI outer width. This configuration option accepts an integer
* (to denote a value in pixels) or any CSS-defined length unit.
Expand Down Expand Up @@ -418,21 +434,6 @@ CKEDITOR.config = {
]
};

/**
* Indicates that some of the editor features, like alignment and text
* direction, should use the "computed value" of the feature to indicate its
* on/off state instead of using the "real value".
*
* If enabled in a Left-To-Right written document, the "Left Justify"
* alignment button will be shown as active, even if the alignment style is not
* explicitly applied to the current paragraph in the editor.
*
* config.useComputedState = false;
*
* @since 3.4.0
* @cfg {Boolean} [useComputedState=true]
*/

/**
* The base user interface color to be used by the editor. Not all skins are
* {@glink guide/skin_sdk_chameleon compatible with this setting}.
Expand Down

0 comments on commit 02ef654

Please sign in to comment.