editor: no overflow:visible on editing widget, add edit-parent context menu option

This commit is contained in:
jean-emmanuel 2017-07-21 15:54:45 +02:00
parent 6d669b2e88
commit 9fadd95e28
2 changed files with 4 additions and 2 deletions

View file

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

View file

@ -211,7 +211,7 @@
.widget.editing {
z-index: 11!important;
overflow: visible;
// overflow: visible;
}
.widget.editing:after, li.editing a:before, a.editing:before, .content.editing:before, #container.editing:before{
content:"";