{{-- tu so definicije elementa .mnm-element, torej vse, kar pride med opening
--}} @if(!in_array($page?->element_type_key, ['menu_item'])) id="{{'page-id-'.$page?->id}}" @endif data-page-id="{{$page?->id}}" data-element-type-key="{{$page?->element_type_key}}" data-section="{{$section}}" @class($classes['classes'].(($uri['run_function'] ?? null) ? ' mnm-run_function-'.$uri['run_function'] : '')) @style($classes['styles']) @if(App\Classes\Prefs::$web_edit_mode and empty($bound_copy_descendant)) ondragover="mnmEdit.onInsertElementDragOver(event, this)" ondrop="mnmEdit.onInsertElementDrop(event, this)" ondragleave="mnmEdit.onInsertElementDragLeave(event, this)" @endif @if($edit_mode and $page?->selectable and empty($bound_copy_descendant)) onclick="appInstance.$refs.editToolbar.selectElement(event, this)" @endif