aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2025-02-01 10:35:03 +0000
committerMario <mario@mariovavti.com>2025-02-01 10:35:03 +0000
commitffae47f523b5c082bc36ebccc9ec92d7fc8f8c7a (patch)
tree21e79954b5c29b89502d07eb3cb991be3ec4d3f2
parent0a17b8357883c8d1d5683d961ed866ae99cea3bb (diff)
parentc07cdb30fa1ea73cb047932898d876e23ebb0293 (diff)
downloadvolse-hubzilla-ffae47f523b5c082bc36ebccc9ec92d7fc8f8c7a.tar.gz
volse-hubzilla-ffae47f523b5c082bc36ebccc9ec92d7fc8f8c7a.tar.bz2
volse-hubzilla-ffae47f523b5c082bc36ebccc9ec92d7fc8f8c7a.zip
Merge branch 'highlight_button' into 'dev'
add highlight/mark button See merge request hubzilla/core!2180
-rw-r--r--view/tpl/comment_item.tpl3
-rw-r--r--view/tpl/jot.tpl3
2 files changed, 6 insertions, 0 deletions
diff --git a/view/tpl/comment_item.tpl b/view/tpl/comment_item.tpl
index 76b756846..059e2793a 100644
--- a/view/tpl/comment_item.tpl
+++ b/view/tpl/comment_item.tpl
@@ -37,6 +37,9 @@
<button class="btn btn-outline-secondary btn-sm border-0" title="{{$edcode}}" onclick="insertbbcomment('{{$comment}}','code', {{$id}}); return false;">
<i class="bi bi-code comment-icon"></i>
</button>
+ <button class="btn btn-outline-secondary btn-sm border-0" title="highlight" onclick="insertbbcomment('{{$comment}}','mark', {{$id}}); return false;">
+ <i class="bi bi-highlighter comment-icon"></i>
+ </button>
</div>
<div class="btn-group me-2">
{{if $can_upload}}
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl
index 1cecee906..a6ec453e7 100644
--- a/view/tpl/jot.tpl
+++ b/view/tpl/jot.tpl
@@ -116,6 +116,9 @@
<button type="button" id="main-editor-code" class="btn btn-outline-secondary btn-sm border-0" title="{{$code}}" onclick="inserteditortag('code', 'profile-jot-text'); return false;">
<i class="bi bi-code jot-icons"></i>
</button>
+ <button type="button" id="main-editor-bold" class="btn btn-outline-secondary btn-sm border-0" title="highlight" onclick="inserteditortag('mark', 'profile-jot-text'); return false;">
+ <i class="bi bi-highlighter jot-icons"></i>
+ </button>
</div>
{{/if}}
{{if $visitor}}