浏览代码

add root to editor

Nikolay Suslov 4 年之前
父节点
当前提交
3798cfe8b2
共有 1 个文件被更改,包括 10 次插入0 次删除
  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
                     ]
                 }