怎么进入编辑器模式,Editor怎么引入?

我只想在编辑器模式下保存一下场景中各个节点的数据。
结果编辑器模式都不知道怎么进入。用Hello World文件试了下发现不对啊,Editor显示不存在。编辑器模式要怎么进入啊。

   const {ccclass,property,requireComponent, disallowMultiple, executeInEditMode} = cc._decorator;

@ccclass
@executeInEditMode
 class Card extends cc.Component{

    onLoad( ){
        console.log( Editor )
    }

}

你在网页上运行是没有Editor的

编辑器里面就是处于编辑器模式中
此时 CC_EDITOR 的值为 true

此时想看控制台日志请点击

----开发者
         |---- 开发者工具

好了。太感谢了!!!