Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions docs/content_management/rich_text/extend_online_editor.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ Supported attribute types are:
`string`, `number`, `boolean`, `link`, and `choice`.
`choice` requires that you provide a list of options in the `choices` key.

You must provide your own files for the Twig template and the icon.
Provide your own SVG icon, or choose one from the [built-in icons included in `all-icons.svg`](icon_twig_functions.md#icons-reference).

You must create your own file for the Twig template.
Place the `factbox.html.twig` template in the
`templates/themes/<your-theme>/field_type/ibexa_richtext/custom_tags` directory:

Expand Down Expand Up @@ -87,7 +89,9 @@ The configuration is:
[[= include_file('code_samples/back_office/online_editor/custom_tags/linktag/config/packages/custom_tags.yaml') =]]
```

Provide your own files for the Twig template and the icon.
Provide your own SVG icon, or choose one from the [built-in icons included in `all-icons.svg`](icon_twig_functions.md#icons-reference).

Use your own file for the Twig template.

The tag has the `url` attribute with the `type` parameter set as `link` (lines 30-31).

Expand Down
Loading