Wiki Toolbar on Full Width Custom Fields
Upon upgrading to version 3.4.4 we noticed we now have the ability to have custom long text fields with Full Width Layout and Text Formatting options.
When editing an issue, fields with these options should also have the wiki toolbar displayed.
We were able to make it appear by adding a call to wikitoolbar_for in app/views/issues/_form_custom_fields.html.erb as follows:
<% custom_field_values_full_width.each do |value| %> <p><%= custom_field_tag_with_label :issue, value, :required => @issue.required_attribute?(value.custom_field_id) %> <%= wikitoolbar_for custom_field_tag_id :issue, value.custom_field %> </p> <% end %>
Note that I'm not checking the Text Formatting option so all full width fields have the toolbar.
#3 Updated by Go MAEDA over 4 years ago
- File email@example.com added
- Target version set to Candidate for next major release
#4 Updated by Marius BALTEANU over 4 years ago
Go MAEDA wrote:
Go MAEDA, I'll be happy to review this patch, but first I would like to take a call regarding #27758. I think that this feature can be implemented easier after the preview tab is added to the core.