You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{% include code-snippet/document-editor-container/customize-color-picker/document-editor.cs %}
37
+
{% endhighlight %}
38
+
{% endtabs %}
35
39
{% endif %}
36
40
37
41
The following table illustrates all the possible properties for the color picker.
38
42
39
-
| Property |Behaviour|
43
+
| Property |Behavior|
40
44
|---|---|
41
45
| columns | It is used to render the ColorPicker palette with specified columns. Defaults to 10 |
42
46
| disabled | It is used to enable / disable ColorPicker component. If it is disabled the ColorPicker popup won’t open. Defaults to false |
43
47
| mode | It is used to render the ColorPicker with the specified mode. Defaults to ‘Picker’ |
44
48
| modeSwitcher | It is used to show / hide the mode switcher button of ColorPicker component. Defaults to true |
45
-
| showButtons | It is used to show / hide the control buttons (apply / cancel) of ColorPicker component. Defaults to true |
49
+
| showButtons | It is used to show / hide the control buttons (apply / cancel) of ColorPicker component. Defaults to true |
50
+
51
+
52
+
>**Note**: According to the Word document specifications, it is not possible to modify the **`Predefined Highlight colors`**. This limitation means that the range of highlight colors provided by default cannot be customized or expanded upon by the user to suit individual preferences. Consequently, users must work within the confines of the existing color palette, as no functionality currently exists to modify or personalize these predefined highlighting options.
0 commit comments