Skip to content

Commit 561a978

Browse files
committed
Added mention about using Webpack encore and assets to add custom CSS styles (#2718)
1 parent c67b75a commit 561a978

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/content_management/rich_text/extend_online_editor.md

+2
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ The `note_box.html.twig` template wraps the content of the selected text
205205
<div class="note">{{ content }}</div>
206206
```
207207

208+
You can now define the custom CSS for this template, for example by using [Webpack Encore and assets](assets.md):
208209
``` css
209210
.note {
210211
display: block;
@@ -246,6 +247,7 @@ The `highlight.html.twig` template wraps the content of the selected text
246247
<span class="highlight">{{ content }}</span>
247248
```
248249

250+
You can now define the custom CSS for this template, for example by using [Webpack Encore and assets](assets.md):
249251
``` css
250252
.highlight {
251253
background-color: #fcc672;

0 commit comments

Comments
 (0)