Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

所见即所得行级 HTML 解析错误 #1156

Closed
skadiD opened this issue Jan 17, 2022 · 1 comment
Closed

所见即所得行级 HTML 解析错误 #1156

skadiD opened this issue Jan 17, 2022 · 1 comment
Assignees
Milestone

Comments

@skadiD
Copy link

skadiD commented Jan 17, 2022

编辑模式

  • wysiwyg 所见即所得模式

描述问题

使用font属性渲染内容,手动输入代码<font size=12>test</font>无法渲染,此时复制该行内容发现标签被转义。
通过粘贴 <font size=12>test</font>到编辑器同样无法解析,但粘贴<font size=12 >test</font>可以被正常实时渲染

<font size=12 >test</font>

期待的结果

手动输入html代码可以被正确渲染

截屏或录像

1

2

版本信息

  • 版本:3.8.8
  • 操作系统:win10
  • 浏览器:edge

其他信息

@88250 88250 changed the title html语法BUG 行级 HTML 编辑问题 Jan 22, 2022
@88250 88250 added this to the 3.8 milestone Jan 22, 2022
@88250
Copy link
Collaborator

88250 commented Jan 22, 2022

在处理 HTML 时会自动转换为 <code> 来包裹 HTML 代码。目前的问题是 spin 以后错误将语法节点解析为 code 而不是 html-inline,这个问题稍后会解决,感谢反馈。

@88250 88250 changed the title 行级 HTML 编辑问题 所见即所得行级 HTML 编辑问题 Jan 22, 2022
@88250 88250 changed the title 所见即所得行级 HTML 编辑问题 所见即所得行级 HTML 解析错误 Jan 22, 2022
@88250 88250 closed this as completed in b317bc8 Jan 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants