Skip to content

Commit 1e1d7cd

Browse files
authored
Merge pull request #10178 from gjulivan/development2
update rich text widget document
2 parents 45aeef9 + c1aef03 commit 1e1d7cd

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

  • content/en/docs/marketplace/platform-supported-content/widgets/richtext

content/en/docs/marketplace/platform-supported-content/widgets/richtext/_index.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ To configure this widget, follow these steps:
6969
* **Editable** – determines when user can edit content in the editor and when it is read-only.
7070
* **Read-only style** - determines the style of the rich text when set to read-only.
7171
For more information, see the [Editability Section](/refguide/common-widget-properties/#editability) in *Properties Common in the Page Editor*.
72+
* **Form orientation** - configures the form orientation used in the widget's modal dialog window, such as in **insert image**, **insert video**, **insert link**, and **view code modal**.
7273

7374
* **Visible** – determines if the widget is visible on the page.
7475
For more information, see the [Visibility Section](/refguide/common-widget-properties/#visibility-properties) in *Properties Common in the Page Editor*.
@@ -126,9 +127,15 @@ To configure this widget, follow these steps:
126127
### Advanced Tab
127128

128129
* **Enable spell checking** – configures to use the browser’s native spell checker.
130+
* **Default font family** – configures initial selection of the font family shown in the dropdown toolbar if no fonts are set. This configuration is only to adjust the font toolbar display with page's default font-family. No value is being set to the editor's text directly. The value set should be the same with selected `font-name-value` in `data-value` variable of fonts.
131+
* **Default font size** – configures initial font size to be shown in the dropdown of font size in the toolbar if no font sizes are set. This configuration only adjusts the font size toolbar with the page's default font size. No font size value is being set to the editor's text directly. The value set should be available in the font size toolbar selections.
129132
* **Custom fonts** – configures extra fonts selection for the font family.
130133
* **Selectable images** – configures image entity source to allow rich text to use images from entity instead of base64 string.
131134
* **Enable default upload** – if enabled, it will keep the current image upload method using base64 string, otherwise it is hidden (default value: **true**).
135+
* **Status bar content** - configures counter display on the status bar:
136+
* **Word count** – displays the number of words in the status bar.
137+
* **Character count (text only)** – displays the number of characters displayed in the editor.
138+
* **Character count (includeing HTML)** – displays the number of characters saved into the attribute value. This includes the HTML tag inserted for the formatting of rich text.
132139

133140
### Common Tab
134141

@@ -277,3 +284,12 @@ export async function selectImage(fileGuid) {
277284
```
278285

279286
This code will trigger a new event called **imageSelected** and bubble up the event back to Rich Text widget to continue the flow. The user then can use the **image id** instead of **base64 string** as the image source.
287+
288+
## Limitations
289+
290+
Rich Text version 4 still has limitations that we will continue improving in the future. Current notable limitations are as follows:
291+
292+
- Tables only support basic formatting. The following formatting options are not yet supported:
293+
- Nested tables
294+
- Table header
295+
- Table caption

0 commit comments

Comments
 (0)