Selaa lähdekoodia

add root to editor

Nikolay Suslov 4 vuotta sitten
vanhempi
commit
3798cfe8b2
1 muutettua tiedostoa jossa 10 lisäystä ja 0 poistoa
  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
                     ]
                 }