Project

General

Profile

Actions

Feature #28085

closed

Wiki Toolbar on Full Width Custom Fields

Added by Stephen Stuart over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Custom fields
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate

Description

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.


Files

patch.txt (7.89 KB) patch.txt Osamu Murayama, 2018-02-07 12:28
wiki-toolbar-and-preview-for-full-width-cf@2x.png (40.8 KB) wiki-toolbar-and-preview-for-full-width-cf@2x.png Go MAEDA, 2018-02-20 15:29
patch.patch (7.89 KB) patch.patch Same patch as note-1, but with correct extension. Mischa The Evil, 2018-02-24 00:42

Related issues

Related to Redmine - Patch #21705: Option for long text custom fields to be displayed using full widthClosedJean-Philippe Lang

Actions
Is duplicate of Redmine - Feature #29712: Preview and wiki toolbar for full width custom fieldsClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF