[GH-ISSUE #641] [bug] HTML标签在所见即所得和即时渲染模式下失效 #469

Closed
opened 2026-03-02 03:40:05 +03:00 by kerem · 1 comment
Owner

Originally created by @miaorunquan on GitHub (Sep 12, 2025).
Original GitHub issue: https://github.com/codexu/note-gen/issues/641

详细描述这个 Bug

使用一些HTML标签,如<sub>,<mark>等,在即时渲染和所见即所得模式下不能渲染,在分屏预览模式下可以

在所见即所得模式下,<sub>a</sub>无任何渲染,连对应的标签一同显示,即显示为<sub>a</sub>

在即时渲染模式下,<sub>a</sub>无任何渲染,但会隐藏标签,即显示为常规a

在分屏预览模式下,<sub>a</sub>可以正常渲染,显示为下标形态的a

NoteGen 版本

v0.21.0

操作系统

Windows

报错日志

No response

Originally created by @miaorunquan on GitHub (Sep 12, 2025). Original GitHub issue: https://github.com/codexu/note-gen/issues/641 ### 详细描述这个 Bug 使用一些HTML标签,如`<sub>`,`<mark>`等,在即时渲染和所见即所得模式下不能渲染,在分屏预览模式下可以 在所见即所得模式下,`<sub>a</sub>`无任何渲染,连对应的标签一同显示,即显示为`<sub>a</sub>` 在即时渲染模式下,`<sub>a</sub>`无任何渲染,但会隐藏标签,即显示为常规`a` 在分屏预览模式下,`<sub>a</sub>`可以正常渲染,显示为下标形态的<sub>a</sub> ### NoteGen 版本 v0.21.0 ### 操作系统 Windows ### 报错日志 _No response_
kerem closed this issue 2026-03-02 03:40:05 +03:00
Author
Owner

@codexu commented on GitHub (Sep 15, 2025):

目前使用的 Vditor 编辑器,我会随版本同步更新。
你可以在Vditor 提交 BUG。

<!-- gh-comment-id:3290151298 --> @codexu commented on GitHub (Sep 15, 2025): 目前使用的 [Vditor](https://github.com/Vanessa219/vditor) 编辑器,我会随版本同步更新。 你可以在Vditor 提交 BUG。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/note-gen#469
No description provided.