Closed
Description
该问题是否已经被报告过了? Is there an existing issue for this?
- 我已经搜索了 Issues,没有发现类似问题
I have searched the existing issues
该问题是否能够在默认主题(daylight/midnight)下重现? Can the issue be reproduced with the default theme (daylight/midnight)?
- 我能够在默认主题下重现该问题
I was able to reproduce the issue with the default theme
描述问题 Describe the problem
API /api/block/*
中请求体中 dataType
字段设置为 "markdown"
时, data
字段设置为如下内容插入的块都会导致块级 IAL 丢失
"{: style=\"color: var(--b3-font-color8);\"}"
"\n{: style=\"color: var(--b3-font-color8);\"}"
"\n\n{: style=\"color: var(--b3-font-color8);\"}"
期待的结果 Expected result
data
字段设置为 "\n{: style=\"color: var(--b3-font-color8);\"}"
时插入的块可以插入一个存在块级 IAL 的空段落块
截屏或者录屏演示 Screenshot or screen recording presentation
No response
版本环境 Version environment
- Version: 2.5.1
- Operating System:
- Browser (if used):
日志文件 Log file
无有效内容输出
更多信息 More information
No response
Metadata
Metadata
Assignees
Type
Projects
Relationships
Development
No branches or pull requests
Activity
[-]API `/api/block/*` 无法插入/更新一个带有块级 IAL 的空段落块[/-][+]API `/api/block/*` 无法插入或更新一个带有块级 IAL 的空段落块[/+][-]API `/api/block/*` 无法插入或更新一个带有块级 IAL 的空段落块[/-][+]API `/api/block/*` 支持插入或更新带有块级 IAL 的空段落块[/+]🎨 Protyle API `/api/block/*` 支持插入或更新带有块级 IAL 的空段落块 siyuan-note/siyuan…
🎨 API `/api/block/*` 支持插入或更新带有块级 IAL 的空段落块 Fix #6713