Exploring the Properties of the HTML Editor Field Control
I was trying to figure out the easiest way to hide/show buttons on the HTML Editor Field Control.
Strangely, there's some documentation on the topic but it doesn't go into the details about the buttons.
I thought I'd write about the results of my little experiment. The following tabulates the buttons that get activated/deactivated when specific properties are turned on/off.
| Property | Value | Buttons Activated |
| (Default) |
| |
| AllowFonts DisableBasicFormattingButtons | True False |
|
| Allow Headings | True |
|
| AllowHtmlSourceEditing | True | Edit HTML Source |
| Allow Hyperlinks AllowExternalUrls | True True |
|
| Allow Hyperlinks AllowExternalUrls | True False |
|
| AllowImages | True |
|
| Allow Lists | True |
|
| AllowReusableContent | True |
|
| AllowTables | True |
|
| AllowTextMarkup DisableBasicFormattingButtons | True True |
|
| AllowTextMarkup DisableBasicFormattingButtons | True False |
|
| DisableCustomStyles | False |
|
There's an additional property, DisableBasicFormattingButtons, which as the name suggests, disables basic formatting buttons. And these are the buttons it considers "basic:
| Property | Value | Buttons Deactivated |
| DisableBasicFormattingButtons | False |
|








