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

除了分栏显示的状态下,获取选中内容,图片和格式会丢失 #1677

Open
ic-xu opened this issue Sep 19, 2024 · 0 comments
Open

Comments

@ic-xu
Copy link

ic-xu commented Sep 19, 2024

你在什么场景下需要该功能?

在编辑器中选中一段文本,这段文本包含图片还有其他 markdown 的内容,但是返回的只有文本内容;我希望获取选中内容的时候,返回包含图片的 markdown 文本。

获取选中内容进行二次渲染时,图片还有格式会丢失

描述最优的解决方案

  • 新增一个返回选中部分的 markdown 原文的方法
@ic-xu ic-xu changed the title 获取选中内容的时候希望 新增一个 返回 md 文本的方法 除了分栏显示的状态下,获取选中内容,图片和格式会丢失 Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant