Skip to content

Commit 513946f

Browse files
Merge pull request #3811 from syncfusion-content/933118-highLight-Note-CM
933118: Added notes for possibility of modifying the predefined highlight colors in Core and MVC.
2 parents ab3dceb + 47a81bd commit 513946f

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

ej2-asp-core-mvc/document-editor/how-to/customize-color-picker.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ Similarly, you can use `documentEditorSettings` property for DocumentEditor also
2222
{% include code-snippet/document-editor-container/customize-color-picker/tagHelper %}
2323
{% endhighlight %}
2424
{% highlight c# tabtitle="customize-color-picker.cs" %}
25-
{% endhighlight %}{% endtabs %}
25+
{% include code-snippet/document-editor-container/customize-color-picker/document-editor.cs %}
26+
{% endhighlight %}
27+
{% endtabs %}
2628

2729
{% elsif page.publishingplatform == "aspnet-mvc" %}
2830

@@ -31,15 +33,20 @@ Similarly, you can use `documentEditorSettings` property for DocumentEditor also
3133
{% include code-snippet/document-editor-container/customize-color-picker/razor %}
3234
{% endhighlight %}
3335
{% highlight c# tabtitle="customize-color-picker.cs" %}
34-
{% endhighlight %}{% endtabs %}
36+
{% include code-snippet/document-editor-container/customize-color-picker/document-editor.cs %}
37+
{% endhighlight %}
38+
{% endtabs %}
3539
{% endif %}
3640

3741
The following table illustrates all the possible properties for the color picker.
3842

39-
| Property | Behaviour |
43+
| Property | Behavior |
4044
|---|---|
4145
| columns | It is used to render the ColorPicker palette with specified columns. Defaults to 10 |
4246
| disabled | It is used to enable / disable ColorPicker component. If it is disabled the ColorPicker popup won’t open. Defaults to false |
4347
| mode | It is used to render the ColorPicker with the specified mode. Defaults to ‘Picker’ |
4448
| 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

Comments
 (0)