Skip to content
Snippets Groups Projects
Unverified Commit 8f344fd0 authored by Arnaud Levy's avatar Arnaud Levy Committed by GitHub
Browse files

Merge pull request #694 from noesya/rich-text-for-image-block

Ajout du rich text avec liens uniquement dans le texte des blocs image
parents 81eaac95 35b336b6
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@ class Communication::Block::Template::Image < Communication::Block::Template::Ba
has_component :image, :image
has_component :alt, :string
has_component :credit, :rich_text
has_component :text, :text
has_component :text, :rich_text
protected
......
......@@ -10,6 +10,7 @@
label: t('admin.communication.blocks.components.image.credit.label'),
placeholder: t('admin.communication.blocks.components.image.credit.placeholder'),
summernote_config: 'link' %>
<%= block_component_edit :text %>
<%= block_component_edit :text,
summernote_config: 'link' %>
</div>
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment