Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2019-10-27 16:52:09 +03:00
parent fc02dd19f8
commit ff53da1554

View File

@ -414,11 +414,19 @@ var VirtualBlocksEditUIActions = actions.Actions({
.close(function(){
that.refresh(gid) }) })],
// XXX virtual block templates...
// virtual block templates...
//
// XXX should these be loaded as a ribbon/collection???
// ...a collection seems to have all the needed functionality
// but there are still quiestions:
// - stored globally (config), locally (index) or something in the middle (collection)?
// but there are still questions:
// - stored globally (config), locally (index) or something
// in the middle (collection)?
// ...on the other hand a pure collection is a bad match here as it
// necessitates a context change out of the user context and back
// which is a really bad thing...
// ...this could be done via:
// - dialog w. previews (a-la metadata)
// - floating ribbon (in a dialog)
cloneVirtualBlockFromTemplate: ['- Virtual block/Clone from template...',
function(){
}],