Skip to content

Commit c6aacbb

Browse files
authored
Update _index.md
1 parent ee70c74 commit c6aacbb

File tree

1 file changed

+13
-18
lines changed
  • content/en/docs/marketplace/platform-supported-content/widgets/richtext

1 file changed

+13
-18
lines changed

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

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -142,24 +142,19 @@ This advance configuration allows you to add extra font list to the font family
142142

143143
#### Prerequisites
144144

145-
Prior to adding a new font, the font files and font family have to already be included in your project.
145+
Before use, please ensure you meet the following prerequisites:
146146

147-
* **Adding font files**
147+
* Prior to adding a new font, the font files and font family have to already be included in your project. To add font files into the project, you can put the font files inside your styles/web directory.
148+
* Define font family in styling. You will need to define the new font by adding the font face custom styling.
148149

149-
To add font files into the project, you can put the font files inside your styles/web directory.
150-
151-
* **Define font family in styling**
152-
153-
You will need to define the new font by adding the font face custom styling.
154-
155-
```css
156-
@font-face {
157-
font-family: 'Your-font-family-name';
158-
src: url('YourFontFile.ttf') format('truetype');
159-
font-weight: 100;
160-
font-style: normal;
161-
}
162-
```
150+
```css
151+
@font-face {
152+
font-family: 'Your-font-family-name';
153+
src: url('YourFontFile.ttf') format('truetype');
154+
font-weight: 100;
155+
font-style: normal;
156+
}
157+
```
163158

164159
#### Adding a Custom Font
165160

@@ -184,7 +179,7 @@ The new font name will be display in the toolbar with data-value attribute as `d
184179
}
185180
```
186181

187-
### Image from entity
182+
### Image From Entity
188183

189184
{{% alert color="info" %}}
190185
This feature is available from Rich Text version 4.8.0 and above.
@@ -196,7 +191,7 @@ The default image upload and selection method of Rich Text is to use base64 stri
196191

197192
The default and recommended way of uploading and selecting images from entity in Rich Text widget is to use [File Uploader](/appstore/modules/file-uploader/) module.
198193

199-
##### Prerequisite
194+
##### Prerequisites
200195

201196
Entity that being used for Rich Text data source value attribute have to use FileUploadContext entity generalization.
202197

0 commit comments

Comments
 (0)