package/src/ui/templates/inputs/textAreaInput.jst
<label>
<span class="name"></span>
<span class="inline_help"></span>
</label>
<!-- inline style for wysihtml5 to pick up -->
<textarea style="width: 100%;" dir="auto"></textarea>
<div class="toolbar">
<a data-wysihtml5-command="bold" title="<%= I18n.t('pageflow.ui.templates.inputs.text_area_input.bold') %>"></a>
<a data-wysihtml5-command="italic" title="<%= I18n.t('pageflow.ui.templates.inputs.text_area_input.italic') %>"></a>
<a data-wysihtml5-command="underline" title="<%= I18n.t('pageflow.ui.templates.inputs.text_area_input.underline') %>"></a>
<a data-wysihtml5-command="createLink" class="link_button" title="<%= I18n.t('pageflow.ui.templates.inputs.text_area_input.create_link') %>"></a>
<a data-wysihtml5-command="insertOrderedList" title="<%= I18n.t('pageflow.ui.templates.inputs.text_area_input.insert_ordered_list') %>"></a>
<a data-wysihtml5-command="insertUnorderedList" title="<%= I18n.t('pageflow.ui.templates.inputs.text_area_input.insert_unordered_list') %>"></a>
<div data-wysihtml5-dialog="createLink" class="dialog link_dialog" style="display: none;">
<div class="link_type_select">
<label>
<input type="radio" name="link_type" class="url_link_radio_button">
<%= I18n.t('pageflow.ui.templates.inputs.text_area_input.link_type.url') %>
</label>
<label>
<input type="radio" name="link_type" class="fragment_link_radio_button">
<%= I18n.t('pageflow.ui.templates.inputs.text_area_input.link_type.page_link') %>
</label>
</div>
<div class="url_link_panel">
<label>
<span>
<%= I18n.t('pageflow.ui.templates.inputs.text_area_input.target') %>
</span>
</label>
<input type="text" class="display_url">
<div class="open_in_new_tab_section">
<label>
<input type="checkbox" class="open_in_new_tab">
<%= I18n.t('pageflow.ui.templates.inputs.text_area_input.open_in_new_tab') %>
</label>
<span class="inline_help">
<%= I18n.t('pageflow.ui.templates.inputs.text_area_input.open_in_new_tab_help') %>
</span>
</div>
</div>
<div class="fragment_link_panel">
<!-- LinkInputView is inserted here -->
</div>
<!-- wysihtml5 does not handle hidden fields correctly -->
<div class="internal">
<input type="text" data-wysihtml5-dialog-field="href" class="current_url" value="">
<input type="text" data-wysihtml5-dialog-field="target" class="current_target" value="_blank">
</div>
<a class="button" data-wysihtml5-dialog-action="save">
<%= I18n.t('pageflow.ui.templates.inputs.text_area_input.save') %>
</a>
<a class="button" data-wysihtml5-dialog-action="cancel">
<%= I18n.t('pageflow.ui.templates.inputs.text_area_input.cancel') %>
</a>
<a data-wysihtml5-command="removeLink"><%= I18n.t('pageflow.ui.templates.inputs.text_area_input.remove_link') %></a>
</div>
</div>