TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Removing Shadow DOM boundaries from text editor elements

52 点作者 crbelaus超过 8 年前

4 条评论

Someone超过 8 年前
So, does this mean the shadow DOM is a bad idea, in general, or is there something special about Atom that makes it a bad idea for Atom or maybe even text editors in general? If so, what's the criterion to use to decide whether one should use the shadow DOM?
评论 #12971860 未加载
评论 #12972365 未加载
评论 #12971878 未加载
draw_down超过 8 年前
I still feel like using web technologies to build an editor was a strange choice. (Though I don't mean to disagree with the reasoning here, which sounds OK to me.)
评论 #12971618 未加载
评论 #12971564 未加载
评论 #12971568 未加载
评论 #12971674 未加载
评论 #12971623 未加载
Hurtak超过 8 年前
I wonder if there will be any performance benefits from removing Shadow DOM in Atom.
eatonphil超过 8 年前
So Atom just discovered BEM? To be fair, I only just started getting into it too; it is incredibly useful for organizing CSS.