editor: no overflow:visible on editing widget, add edit-parent context menu option
This commit is contained in:
parent
6d669b2e88
commit
9fadd95e28
2 changed files with 4 additions and 2 deletions
|
|
@ -56,7 +56,9 @@ var init = function(){
|
|||
clickY = Math.round((d.offsetY + d.target.scrollTop) / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH
|
||||
// actions['<i class="fa fa-edit"></i> Edit'] = function(){editObject(container,data)}
|
||||
|
||||
// actions['<i class="fa fa-object-group"></i> Edit parent'] = function(){parent.trigger('fake-click')}
|
||||
if (parent.hasClass('panel')) {
|
||||
actions['<i class="fa fa-object-group"></i> Edit parent'] = function(){parent.trigger('fake-click')}
|
||||
}
|
||||
|
||||
if (type=='widget') actions['<i class="fa fa-copy"></i> Copy'] = function(){CLIPBOARD=JSON.stringify(data)}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue