Browse Source

add root to editor

Nikolay Suslov 4 years ago
parent
commit
3798cfe8b2
1 changed files with 10 additions and 0 deletions
  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
                         this._sideBarComponent
                     ]
                     ]
                 }
                 }