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
Copy file name to clipboardExpand all lines: content/en/docs/marketplace/platform-supported-content/widgets/richtext/_index.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,6 +69,7 @@ To configure this widget, follow these steps:
69
69
***Editable** – determines when user can edit content in the editor and when it is read-only.
70
70
***Read-only style** - determines the style of the rich text when set to read-only.
71
71
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**.
72
73
73
74
***Visible** – determines if the widget is visible on the page.
74
75
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:
126
127
### Advanced Tab
127
128
128
129
***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.
129
132
***Custom fonts** – configures extra fonts selection for the font family.
130
133
***Selectable images** – configures image entity source to allow rich text to use images from entity instead of base64 string.
131
134
***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.
132
139
133
140
### Common Tab
134
141
@@ -277,3 +284,12 @@ export async function selectImage(fileGuid) {
277
284
```
278
285
279
286
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:
0 commit comments