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

功能建议:提供根据更新后的DOM内容来重新获取Highlight Source或Start/End Meta的接口 #105

Open
maoshuochen opened this issue Feb 16, 2023 · 0 comments

Comments

@maoshuochen
Copy link

我在开发一个同时具有高亮和编辑功能的文本编辑器,高亮功能使用本库实现。
由于需要实现编辑高亮内容之后更新数据库的功能,将可被编辑的文本元素加上了contenteditable的属性,这样可以获取被编辑之后的新的DOM。但是被卡在了根据这个DOM重新获取Highlight Source并持久化这一步。希望作者能提供一个接口来处理这一步。

image

image

@maoshuochen maoshuochen changed the title 功能建议:提供根据更新后的DOM内容来重新获取Highlight Source或Start/End Meta 功能建议:提供根据更新后的DOM内容来重新获取Highlight Source或Start/End Meta的接口 Feb 16, 2023
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