From 5014052c82a8884f38bf2b8acc8eab6304cdea2d Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 9 Oct 2019 03:39:20 +0300 Subject: [PATCH] tweaking... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/virtual-images.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ui (gen4)/features/virtual-images.js b/ui (gen4)/features/virtual-images.js index 15c52abe..7e2de431 100644 --- a/ui (gen4)/features/virtual-images.js +++ b/ui (gen4)/features/virtual-images.js @@ -71,7 +71,8 @@ var VirtualImagesActions = actions.Actions({ this.focusImage(gid) }], - // XXX + makeVirtualBlankBefore: ['Virtual/Add blank before', + 'makeVirtualBlank: $0 "before"'], makeVirtualBlank: ['Virtual/Add blank after', core.doc``, //{ browseMode: function(){ return !this.collection && 'disabled' }, }, @@ -80,7 +81,10 @@ var VirtualImagesActions = actions.Actions({ type: 'virtual', path: null, }) }], - makeVirtualText: ['Virtual/Add text block after', + + makeVirtualTextBefore: ['Virtual/Add text before', + 'makeVirtualText: $0 $1 "before"'], + makeVirtualText: ['Virtual/Add text after', core.doc` NOTE: this was not designed for complex HTML, only use simple