Replies: 2 comments 3 replies
-
可以将 foreighObject 类比 html 文档,里面的根元素就是 body。 |
Beta Was this translation helpful? Give feedback.
3 replies
-
@BiosSun
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我看到在下面这段 Markup 的实现代码中,是在 foreignObject 里创建了一个 body 子元素,但 body 应该会受到页面全局样式的影响,所以为什么要使用 body 呢?
X6/packages/x6/src/view/markup.ts
Lines 346 to 380 in cae8625
我有看到这个问题:#1282 ,但我仍想知道既然会有这些问题,那么为什么还要使用 body 呢?
Beta Was this translation helpful? Give feedback.
All reactions