From 4b001d98902e2933e5c0addd3fa76da152a2ed39 Mon Sep 17 00:00:00 2001 From: Gazook89 <58999374+Gazook89@users.noreply.github.com> Date: Tue, 10 Aug 2021 20:22:36 -0500 Subject: [PATCH] Move Image Snippets to New Menu Separating image related snippets to a new drop down snippet menu. --- .../editor/snippetbar/snippets/snippets.js | 31 ++++++++++++------- 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/client/homebrew/editor/snippetbar/snippets/snippets.js b/client/homebrew/editor/snippetbar/snippets/snippets.js index b30a96e7c..2a08d2d4f 100644 --- a/client/homebrew/editor/snippetbar/snippets/snippets.js +++ b/client/homebrew/editor/snippetbar/snippets/snippets.js @@ -47,18 +47,6 @@ module.exports = [ }} \n` }, - { - name : 'Image', - icon : 'fas fa-image', - gen : dedent` - ![cat warrior](https://s-media-cache-ak0.pinimg.com/736x/4a/81/79/4a8179462cfdf39054a418efd4cb743e.jpg) {width:325px} - Credit: Kyounghwan Kim` - }, - { - name : 'Background Image', - icon : 'fas fa-tree', - gen : `![homebrew mug](http://i.imgur.com/hMna6G0.png) {position:absolute,top:50px,right:30px,width:280px}` - }, { name : 'QR Code', icon : 'fas fa-qrcode', @@ -123,6 +111,25 @@ module.exports = [ ] }, + /*********************** IMAGES *******************/ + { + groupName : 'Images', + icon : 'fas fa-book', + snippets : [ + { + name : 'Image', + icon : 'fas fa-image', + gen : dedent` + ![cat warrior](https://s-media-cache-ak0.pinimg.com/736x/4a/81/79/4a8179462cfdf39054a418efd4cb743e.jpg) {width:325px} + Credit: Kyounghwan Kim` + }, + { + name : 'Background Image', + icon : 'fas fa-tree', + gen : `![homebrew mug](http://i.imgur.com/hMna6G0.png) {position:absolute,top:50px,right:30px,width:280px}` + }, + }, + /************************* PHB ********************/