1 个仓库
Using iframes specifically to prevent CSS style leakage between an embedded component and its host application.
Distinct from Iframe-Based Rendering: Distinct from Iframe-Based Rendering by focusing on style encapsulation and leakage prevention rather than security or plugin execution.
Explore 1 awesome GitHub repository matching user interface & experience · CSS Isolation Wrappers. Refine with filters or upvote what's useful.
EpicEditor 是一个基于 JavaScript 的 Markdown 编辑器,设计为 Web 应用程序的可嵌入 UI 组件。它作为一个本地优先的内容管理器,利用浏览器本地存储进行自动草稿保存和离线内容持久化。 该编辑器的独特之处在于使用 iframe 来隔离样式,防止编辑器和宿主应用程序之间的 CSS 泄漏。它具有一个可自定义的 Markdown 解析器,允许开发人员用自定义函数替换默认解析引擎,以将文本转换为特定输出格式。 该系统提供了一个用于同时编辑和预览的分屏界面,支持全屏模式和动态尺寸调整。它包括一个用于创建、重命名和删除文件的文档管理系统,以及将内容导入和导出为文本、HTML 或 JSON 的机制。
Uses iframes to isolate the editor and previewer styles, preventing CSS conflicts with the host web application.