Skip to content

Releases: 384615666/obsidian-html-atelier

HTML Atelier 2.0.3

Choose a tag to compare

@384615666 384615666 released this 01 Oct 12:05

HTML Atelier 2.0.3

What's Changed

Fixes

  • Plugin description no longer contains the word "Obsidian", per directory validation rules. 插件描述按商店校验规则移除了 "Obsidian" 字样。

Full Changelog: 2.0.2...2.0.3

HTML Atelier 2.0.2

Choose a tag to compare

@384615666 384615666 released this 01 Oct 11:57

HTML Atelier 2.0.2

What's Changed

Bug Fixes

  • 笔记嵌入遵循网络资源开关 / Embeds respect the network-assets setting: note embeds previously allowed remote images, styles and fonts unconditionally; they now follow the "Allow network resources" setting, and toggling it rerenders existing embeds. 此前笔记嵌入写死放行远程资源,现随设置统一控制,切换开关时已渲染的嵌入自动重绘。

Other Changes

  • docs: README 重写为中英双语,覆盖 2.0 全部功能(可视化/源码/分栏编辑、大纲、搜索替换、修改清单、草稿与冲突、嵌入参数表)。/ README rewritten as a bilingual full-feature guide for 2.0.
  • chore: package.json 版本与 manifest 对齐。/ Internal version sync.

Full Changelog: 2.0.1...2.0.2

HTML Atelier 2.0.1

Choose a tag to compare

@384615666 384615666 released this 01 Oct 11:19

HTML Atelier 2.0.1

保存体验、草稿状态与本地样式表三大修复批次,外加一轮完整交叉审计。

What's Changed

Bug Fixes

  • 保存体验 / Save experience: saving no longer rebuilds the preview — no more scroll-to-top, white flash or lost focus; caret and selection are restored after save. 保存不再重建预览:修复保存后跳回页顶、闪白帧与焦点丢失,保存后恢复光标与选中。
  • 草稿状态 / Draft status: new idle state — clean files no longer show misleading text like "backup disabled" or "draft saved"; the status bar follows debounced writes in real time; undo back to the saved content clears the draft (no more ghost conflicts after restart). 新增 idle 状态:干净文件不再谎报"备份已关闭 / 草稿已备份";状态栏实时跟随防抖写入;撤销回原样即清理草稿,杜绝重启后的幽灵冲突。
  • 本地样式表 / Local stylesheets: in-vault <link rel=stylesheet> and @import are inlined into the preview (and embeds) to bypass the host CSP that blocked app:// styles; url() references are rewritten to absolute resource paths. 库内样式表内联进预览与嵌入,绕过宿主 CSP 对 app:// 样式的拦截;url() 引用改写为绝对资源地址。
  • 交叉审计 / Cross-audit round: 10 more confirmed defects fixed — preload-race reads of scroll/nav/focus, embed unload race, stale-source replay during async preview build, draft toggle not resyncing existing sessions, in-flight draft write vs clear race, CSS comment/string awareness, sub-import double rewrite, link[disabled] handling, </style> escaping and raw-text serialization. 另修复十项审计确认缺陷:预加载竞态下滚动/导航/焦点读取、嵌入卸载竞态、异步构建期间旧源回放、草稿开关切换后存量会话状态不自愈、在途写入与清除竞态、CSS 注释与字符串感知、子导入二次改写、link[disabled]、</style> 转义与 raw-text 序列化。

Other Changes

  • chore(release): bilingual (EN + 中文) plugin description; version bump to 2.0.1. 插件描述改为中英双语;版本号升至 2.0.1。
  • Tests 142 → 163; unit / browser gates / on-device probes all green. 单测 142→163;单元、浏览器门禁与真机探针全部通过。

Full Changelog: 2.0.0...2.0.1

HTML Atelier 2.0.0

Choose a tag to compare

@384615666 384615666 released this 16 Sep 16:52

HTML Atelier 2.0.0

A major upgrade of the editing engine and the sidebar workbench.

Highlights

  • New editing engine (TextMap): logical text ↔ source-offset mapping with entity decoding, whitespace folding and cross-node ranges — saves rewrite only the edited source ranges and preserve the original formatting everywhere else.
  • Sidebar workbench: Edit / Outline / Search / Changes tabs for the opened HTML file.
  • Changes tab: lists every unsaved change with per-item locate and revert, driven by LCS segment alignment (no more phantom diff rows after inserting or deleting paragraphs).
  • Paragraph & segment editing now interoperate, with undo/redo history per document.
  • Drafts v2: working drafts with conflict-safe merge between your edits and on-disk changes.
  • UI localization: English & 简体中文.
  • Settings UI with grouped, bilingual options.

Requirements

  • Obsidian Desktop ≥ 1.7.2 (Windows / macOS / Linux).

Install / Update

  • Community plugins: the update will appear in Obsidian's plugin browser automatically once the catalog refreshes.
  • Manual: copy main.js, manifest.json, styles.css into .obsidian/plugins/html-atelier/.

2.0.0 更新说明(中文)

  • 全新编辑引擎(TextMap):逻辑文本与源码逐字符映射,实体解码、空白折叠、跨节点区间;保存只重写被编辑的源码区间,其余格式原样保留。
  • 侧栏工作台:编辑 / 大纲 / 搜索 / 修改 四个页签。
  • 「修改」页签:列出所有未保存改动,支持逐条定位与还原,基于 LCS 段落对齐,增删段落后不再出现幻影差异行。
  • 整段编辑与文字片段编辑互通;每个文档独立的撤销/重做历史。
  • 草稿 v2:工作草稿与磁盘改动可安全合并,冲突可感知。
  • 界面支持 English / 简体中文。
  • 设置页按分组呈现,双语完整。
  • 要求:Obsidian 桌面版 ≥ 1.7.2。

1.0.1

Choose a tag to compare

@384615666 384615666 released this 12 Sep 04:13

Fixes from the community plugin automated review.

  • Require Obsidian 1.7.2+ (Workspace.revealLeaf)
  • Style the selection overlay with injected CSS and custom properties instead of inline cssText
  • Type the parse5 model and remove unsafe any usage
  • Add English installation/usage sections to the README
  • Drop !important overrides from styles.css
  • Add the official Obsidian ESLint rules (npm run lint)

1.0.0

Choose a tag to compare

@384615666 384615666 released this 12 Sep 03:52

Initial release.

  • Preview static HTML files in a native sidebar
  • Edit page text in place with undo and restore
  • Save changes while preserving source formatting

See the README (Chinese) for details.