Explorar o código

add root to editor

Nikolay Suslov %!s(int64=4) %!d(string=hai) anos
pai
achega
3798cfe8b2
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      public/vwf/view/editor-new.js

+ 10 - 0
public/vwf/view/editor-new.js

@@ -3300,6 +3300,16 @@ define([
                             }
 
                         },
+                        {
+                            $type: "button",
+                            class: "mdc-button mdc-button--compact",
+                            $text: " | ",
+                            onclick: function (e) {
+                                document.querySelector('#currentNode')._setNode(vwf.application())
+                            }
+                        },
+                        
+                       
                         this._sideBarComponent
                     ]
                 }