Skip to content

使用 API /api/block/getBlockKramdown 查询时返回 IAL #6670

Closed
@Zuoqiu-Yingyi

Description

@Zuoqiu-Yingyi

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

请求体:

{
    "id": "20210604182911-ubd41f1"
}

响应体:

{
    "code": 0,
    "msg": "",
    "data": {
        "id": "20210604182911-ubd41f1",
        "kramdown": "通过输入 `:` 加字母触发表情字符搜索 😄 😆 😵 😭 😰 😅  😢 😤 😍 😌👍 👎 💯 👏 🔔 🎁 ❓ 💣 ❤️ ☕️ 🌀 🙇 💋 🙏 💢"
    }
}

期待的结果 Expected result

使用 API /api/block/getBlockKramdown 查询时响应结果的 kramdown 字段包含 ID 对应块的 IAL Token

截屏或者录屏演示 Screenshot or screen recording presentation

No response

版本环境 Version environment

- Version: 2.5.1-dev5
- Operating System: 
- Browser (if used):

日志文件 Log file

无有效信息输出

更多信息 More information

若 ID 为容器块时, 容器内的块 IAL Token 可以正常返回

Activity

self-assigned this
on Nov 21, 2022
changed the title [-]使用 API `/api/block/getBlockKramdown` 查询时未返回 `id` 对应块的 IAL Token[/-] [+]使用 API `/api/block/getBlockKramdown` 查询时返回 IAL[/+] on Nov 21, 2022
added this to the 2.5.1 milestone on Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250@Zuoqiu-Yingyi

      Issue actions

        使用 API `/api/block/getBlockKramdown` 查询时返回 IAL · Issue #6670 · siyuan-note/siyuan