cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2019-10-10 18:04:04 +03:00
parent ed58ff4cc8
commit 41211aed68
2 changed files with 3 additions and 15 deletions

View File

@ -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

View File

@ -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...
})