From 41211aed687df9290b69786d9d1c46ef36d6b153 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 10 Oct 2019 18:04:04 +0300 Subject: [PATCH] cleanup... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/metadata.js | 3 +++ ui (gen4)/features/virtual-images.js | 15 --------------- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/ui (gen4)/features/metadata.js b/ui (gen4)/features/metadata.js index a3759867..a9183e58 100755 --- a/ui (gen4)/features/metadata.js +++ b/ui (gen4)/features/metadata.js @@ -344,6 +344,9 @@ var MetadataUIActions = actions.Actions({ // XXX should we replace 'mode' with nested set of metadata??? // XXX make this support multiple images... // XXX make things editable only in when edit is loaded... + // XXX BUG: .dialog.updatePreview() is stealing marks from + // the original image in ribbon... + // ...see inside... showMetadata: ['Image/Metadata...', widgets.makeUIDialog(function(image, mode){ var that = this diff --git a/ui (gen4)/features/virtual-images.js b/ui (gen4)/features/virtual-images.js index b8187438..76d14ab3 100644 --- a/ui (gen4)/features/virtual-images.js +++ b/ui (gen4)/features/virtual-images.js @@ -82,21 +82,6 @@ var VirtualImagesActions = actions.Actions({ path: null, }) }], - 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 - formatted text.`, - //{ browseMode: function(){ return !this.collection && 'disabled' }, }, - function(text, ref, offset){ - this.makeVirtualBlock(ref, offset, { - type: 'virtual', - path: null, - text: text || '', - }) }], - // XXX export... })