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

API /api/block/* 支持插入或更新带有块级 IAL 的空段落块 #6713

Closed
2 tasks done
Zuoqiu-Yingyi opened this issue Nov 25, 2022 · 0 comments
Closed
2 tasks done
Assignees
Milestone

Comments

@Zuoqiu-Yingyi
Copy link
Contributor

该问题是否已经被报告过了? 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

@88250 88250 changed the title API /api/block/* 无法插入/更新一个带有块级 IAL 的空段落块 API /api/block/* 无法插入或更新一个带有块级 IAL 的空段落块 Nov 25, 2022
@88250 88250 self-assigned this Nov 25, 2022
@88250 88250 added this to the 2.5.2 milestone Nov 25, 2022
@88250 88250 changed the title API /api/block/* 无法插入或更新一个带有块级 IAL 的空段落块 API /api/block/* 支持插入或更新带有块级 IAL 的空段落块 Nov 25, 2022
@88250 88250 closed this as completed Nov 25, 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