Skip to content

Commit 19024c2

Browse files
authored
Fixed highlight
1 parent 8ba352a commit 19024c2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/content_management/rich_text/create_custom_richtext_block.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ It also sets the attribute type to `richtext` (line 15):
2525
Then, create a subscriber that converts a string of data into XML code.
2626
Create a `src/Event/Subscriber/RichTextBlockSubscriber.php` file.
2727

28-
In line 32, `my_block` is the same name of the block that you defined in line 3 above.
29-
Line 32 also implements the `PreRender` method.
28+
In line 28, `my_block` is the same name of the block that you defined in line 3 above.
29+
Line 28 also implements the `PreRender` method.
3030
Lines 41-51 handle the conversion of content into an XML string:
3131

32-
``` php hl_lines="32 41 42 43 44 45 46 47 48 49 50 51"
32+
``` php hl_lines="28 41-51"
3333
[[= include_code('code_samples/back_office/online_editor/src/event/subscriber/RichTextBlockSubscriber.php') =]]
3434
```
3535

0 commit comments

Comments
 (0)