From 8f08591ab9aef61ed4f0d16117b77ba6c38c3472 Mon Sep 17 00:00:00 2001 From: "G.Ambatte" Date: Fri, 19 Mar 2021 17:28:49 +1300 Subject: [PATCH] Add snippet for removing drop cap (aka fancy first letter). --- .../homebrew/editor/snippetbar/snippets/snippets.js | 9 +++++++++ .../editor/snippetbar/snippetsLegacy/snippets.js | 11 +++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/client/homebrew/editor/snippetbar/snippets/snippets.js b/client/homebrew/editor/snippetbar/snippets/snippets.js index 73246c5e3..4d55a7216 100644 --- a/client/homebrew/editor/snippetbar/snippets/snippets.js +++ b/client/homebrew/editor/snippetbar/snippets/snippets.js @@ -77,6 +77,15 @@ module.exports = [ icon : 'fas fa-book', gen : TableOfContentsGen }, + { + name : 'Remove Drop Cap', + icon : 'fas fa-remove-format', + gen : '' + }, ] }, diff --git a/client/homebrew/editor/snippetbar/snippetsLegacy/snippets.js b/client/homebrew/editor/snippetbar/snippetsLegacy/snippets.js index b8410bd9f..234b10fed 100644 --- a/client/homebrew/editor/snippetbar/snippetsLegacy/snippets.js +++ b/client/homebrew/editor/snippetbar/snippetsLegacy/snippets.js @@ -77,8 +77,15 @@ module.exports = [ icon : 'fas fa-book', gen : TableOfContentsGen }, - - + { + name : 'Remove Drop Cap', + icon : 'fas fa-remove-format', + gen : '' + }, ] },