From 2bc86afe3cfbaeb1658b8623e9d7d911f250b771 Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Wed, 29 Jul 2026 16:31:35 +0200 Subject: [PATCH 1/6] extend_online_editor.md: Link to pick an icon from Icons ref --- docs/content_management/rich_text/extend_online_editor.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/content_management/rich_text/extend_online_editor.md b/docs/content_management/rich_text/extend_online_editor.md index 5e6a10bbb0..8f7a14979c 100644 --- a/docs/content_management/rich_text/extend_online_editor.md +++ b/docs/content_management/rich_text/extend_online_editor.md @@ -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. +For a built-in icon, you can look into the [Icons reference](icon_twig_functions.md#icons-reference). + +You must provide your own file for the Twig template. Place the `factbox.html.twig` template in the `templates/themes//field_type/ibexa_richtext/custom_tags` directory: @@ -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. +For a built-in icon, you can look into the [Icons reference](icon_twig_functions.md#icons-reference). + +Provide your own file for the Twig template. The tag has the `url` attribute with the `type` parameter set as `link` (lines 30-31). From 6e09eabf4525f52017ab7ebeac33ead7c1837fd3 Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Thu, 30 Jul 2026 09:30:57 +0200 Subject: [PATCH 2/6] extend_online_editor.md: Link to pick an icon from Icons ref --- docs/content_management/rich_text/extend_online_editor.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content_management/rich_text/extend_online_editor.md b/docs/content_management/rich_text/extend_online_editor.md index 8f7a14979c..a88c00d850 100644 --- a/docs/content_management/rich_text/extend_online_editor.md +++ b/docs/content_management/rich_text/extend_online_editor.md @@ -31,7 +31,7 @@ Supported attribute types are: `string`, `number`, `boolean`, `link`, and `choice`. `choice` requires that you provide a list of options in the `choices` key. -For a built-in icon, you can look into the [Icons reference](icon_twig_functions.md#icons-reference). +For an icon from the provided `all-icons.svg` file, you can look into the [Icons reference](icon_twig_functions.md#icons-reference). You must provide your own file for the Twig template. Place the `factbox.html.twig` template in the @@ -89,7 +89,7 @@ The configuration is: [[= include_file('code_samples/back_office/online_editor/custom_tags/linktag/config/packages/custom_tags.yaml') =]] ``` -For a built-in icon, you can look into the [Icons reference](icon_twig_functions.md#icons-reference). +For an icon from the provided `all-icons.svg` file, you can look into the [Icons reference](icon_twig_functions.md#icons-reference). Provide your own file for the Twig template. From ec3975214c7d3299e12e4919e6a4cd901d461cbf Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Thu, 30 Jul 2026 09:31:26 +0200 Subject: [PATCH 3/6] extend_online_editor.md: Link to pick an icon from Icons ref --- docs/content_management/rich_text/extend_online_editor.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content_management/rich_text/extend_online_editor.md b/docs/content_management/rich_text/extend_online_editor.md index a88c00d850..84cc0ac97f 100644 --- a/docs/content_management/rich_text/extend_online_editor.md +++ b/docs/content_management/rich_text/extend_online_editor.md @@ -31,7 +31,7 @@ Supported attribute types are: `string`, `number`, `boolean`, `link`, and `choice`. `choice` requires that you provide a list of options in the `choices` key. -For an icon from the provided `all-icons.svg` file, you can look into the [Icons reference](icon_twig_functions.md#icons-reference). +To choose an icon from the provided `all-icons.svg` file, see the [Icons reference](icon_twig_functions.md#icons-reference). You must provide your own file for the Twig template. Place the `factbox.html.twig` template in the @@ -89,7 +89,7 @@ The configuration is: [[= include_file('code_samples/back_office/online_editor/custom_tags/linktag/config/packages/custom_tags.yaml') =]] ``` -For an icon from the provided `all-icons.svg` file, you can look into the [Icons reference](icon_twig_functions.md#icons-reference). +To choose an icon from the provided `all-icons.svg` file, see the [Icons reference](icon_twig_functions.md#icons-reference). Provide your own file for the Twig template. From ec0ccb76575f77f3e76bd006c2b375c6c2de88ce Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Thu, 30 Jul 2026 10:09:34 +0200 Subject: [PATCH 4/6] Apply suggestion from @mnocon MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Marek NocoĊ„ --- docs/content_management/rich_text/extend_online_editor.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content_management/rich_text/extend_online_editor.md b/docs/content_management/rich_text/extend_online_editor.md index 84cc0ac97f..89e1daa851 100644 --- a/docs/content_management/rich_text/extend_online_editor.md +++ b/docs/content_management/rich_text/extend_online_editor.md @@ -89,7 +89,7 @@ The configuration is: [[= include_file('code_samples/back_office/online_editor/custom_tags/linktag/config/packages/custom_tags.yaml') =]] ``` -To choose an icon from the provided `all-icons.svg` file, see the [Icons reference](icon_twig_functions.md#icons-reference). +Provide your own SVG icon, or choose one from the [built-in icons included in `all-icons.svg`](icon_twig_functions.md#icons-reference). Provide your own file for the Twig template. From e9c14a2fe88d631a804eb20e01d45e60a7b86f89 Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Thu, 30 Jul 2026 10:10:11 +0200 Subject: [PATCH 5/6] extend_online_editor.md: Link to pick an icon from Icons ref --- docs/content_management/rich_text/extend_online_editor.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content_management/rich_text/extend_online_editor.md b/docs/content_management/rich_text/extend_online_editor.md index 89e1daa851..dcf9f9cc0b 100644 --- a/docs/content_management/rich_text/extend_online_editor.md +++ b/docs/content_management/rich_text/extend_online_editor.md @@ -31,7 +31,7 @@ Supported attribute types are: `string`, `number`, `boolean`, `link`, and `choice`. `choice` requires that you provide a list of options in the `choices` key. -To choose an icon from the provided `all-icons.svg` file, see the [Icons reference](icon_twig_functions.md#icons-reference). +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 provide your own file for the Twig template. Place the `factbox.html.twig` template in the From 14edc3f701f46def9b55f8fa4d7edd4be2793a19 Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Thu, 30 Jul 2026 10:15:24 +0200 Subject: [PATCH 6/6] Apply suggestions from code review Co-authored-by: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> --- docs/content_management/rich_text/extend_online_editor.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content_management/rich_text/extend_online_editor.md b/docs/content_management/rich_text/extend_online_editor.md index dcf9f9cc0b..9017ac51ea 100644 --- a/docs/content_management/rich_text/extend_online_editor.md +++ b/docs/content_management/rich_text/extend_online_editor.md @@ -33,7 +33,7 @@ Supported attribute types are: 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 provide your own file for the Twig template. +You must create your own file for the Twig template. Place the `factbox.html.twig` template in the `templates/themes//field_type/ibexa_richtext/custom_tags` directory: @@ -91,7 +91,7 @@ The configuration is: Provide your own SVG icon, or choose one from the [built-in icons included in `all-icons.svg`](icon_twig_functions.md#icons-reference). -Provide your own file for the Twig template. +Use your own file for the Twig template. The tag has the `url` attribute with the `type` parameter set as `link` (lines 30-31).