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

添加 insertMD 方法 #1640

Closed
qiuchengw opened this issue Jul 6, 2024 · 2 comments
Closed

添加 insertMD 方法 #1640

qiuchengw opened this issue Jul 6, 2024 · 2 comments
Assignees
Milestone

Comments

@qiuchengw
Copy link

编辑模式

  • wysiwyg 所见即所得模式

描述问题

通过insertValue接口插入一段markdown代码,代码如下:

**hello**

```cpp
int main() {
    // <p style='color: red;'> hello <b>world222</b> </p>
    printf("<p style='color: red;'> hello <b>world222</b> </p>");
    return 0;
}
```

**world**

期待的结果

code block部分的内容,应该是原样输出。结果其中的html标签都会被转换为markdown语法了。

截屏或录像

ab

版本信息

  • 版本:最新版本
  • 操作系统: window 11
  • 浏览器:microsoft edge

其他信息

@Vanessa219
Copy link
Owner

@88250 可能是 lute 解析的问题

@Vanessa219 Vanessa219 changed the title insertValue 代码块中的html标签内容也会被解析为markdown格式 添加 insertMD 方法 Aug 9, 2024
@Vanessa219 Vanessa219 self-assigned this Aug 9, 2024
@Vanessa219 Vanessa219 added this to the 3.10 milestone Aug 9, 2024
@Vanessa219
Copy link
Owner

由于 #716#917 只能新添加一个方法

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