aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-09 18:32:51 -0700
committerfriendica <info@friendica.com>2015-03-09 18:32:51 -0700
commitc3d20cfba906db9b679b99c9e5f623834dbbab11 (patch)
treeef6bab994af1149ffb994df5bc2c637bf49b4d44 /view/tpl
parent972780c3ce1ffa0e70a72a167b9088c937a07d84 (diff)
downloadvolse-hubzilla-c3d20cfba906db9b679b99c9e5f623834dbbab11.tar.gz
volse-hubzilla-c3d20cfba906db9b679b99c9e5f623834dbbab11.tar.bz2
volse-hubzilla-c3d20cfba906db9b679b99c9e5f623834dbbab11.zip
Bring simple editor formatting functions back to the main editor (bold, italic, underline, quote, code) so as to maintain parity and consistency with comments. Currently this will make the editor toolbar seem a bit cluttered but be aware that the second button group (attach and link tools) will be reduced to two buttons (attach and link) when the next phase of this work is completed. The third group of tools are optional features and will only be presented based on personal choice. Visual editors may need to disable, relocate, or redefine these buttons.
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/jot.tpl17
1 files changed, 17 insertions, 0 deletions
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl
index 4fe48d4e5..4d9207c3b 100755
--- a/view/tpl/jot.tpl
+++ b/view/tpl/jot.tpl
@@ -38,6 +38,23 @@
</div>
<div id="profile-jot-submit-wrapper" class="jothidden">
<div id="profile-jot-submit-left" class="btn-toolbar pull-left">
+ <div class='btn-group'>
+ <button id="main-editor-bold" class="btn btn-default btn-sm" title="{{$bold}}" onclick="inserteditortag('b'); return false;">
+ <i class="icon-bold jot-icons"></i>
+ </button>
+ <button id="main-editor-italic" class="btn btn-default btn-sm" title="{{$italic}}" onclick="inserteditortag('i'); return false;">
+ <i class="icon-italic jot-icons"></i>
+ </button>
+ <button id="main-editor-underline" class="btn btn-default btn-sm" title="{{$underline}}" onclick="inserteditortag('u'); return false;">
+ <i class="icon-underline jot-icons"></i>
+ </button>
+ <button id="main-editor-quote" class="btn btn-default btn-sm" title="{{$quote}}" onclick="inserteditortag('quote'); return false;">
+ <i class="icon-quote-left jot-icons"></i>
+ </button>
+ <button id="main-editor-code" class="btn btn-default btn-sm" title="{{$code}}" onclick="inserteditortag('code'); return false;">
+ <i class="icon-terminal jot-icons"></i>
+ </button>
+ </div>
{{if $visitor}}
<div class='btn-group'>
<button id="wall-image-upload" class="btn btn-default btn-sm" title="{{$upload}}" >