javascript - 如何在插件初始化期间访问editing.view.getDomRoot()?
问题描述
我想对无法通过引擎视图的 API 完成的编辑视图 DOM 根目录做一些事情。为此,我需要在插件的init()
回调中访问 DOM 根。
但事实证明,DOM 根是在插件初始化后创建的。
如何从我的插件访问它?
解决方案
推荐阅读
- google-sheets - 如何自动将公式添加到我的 Google 工作表的其他行?
- python - 为什么我会收到错误消息“没有名为...的模块”
- c# - 如何在 Winforms 中创建只有 exe 而没有依赖项的安装程序?
- php - 我的网站缓存没有更新。它一直显示旧版本
- syntax-error - 错误消息 - 初始化列表时出现“需要右括号”
- vb.net - 设置多值参数时,rdlc 报告显示空白
- node.js - 如何用玩笑模拟猫鼬链接查询
- javascript - 从本地目录 React 中的文件夹导入文件
- intellij-idea - Rubymine:终止 STDIN 后无法从 STDOUT 读取
- c# - 可空外键上的级联删除