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

请问该怎么实现前端的删除效果 #87

Open
Macvh opened this issue Aug 12, 2021 · 2 comments
Open

请问该怎么实现前端的删除效果 #87

Macvh opened this issue Aug 12, 2021 · 2 comments

Comments

@Macvh
Copy link

Macvh commented Aug 12, 2021

示例中标记高亮上方有个小气泡删除,点击删除删除这个标记,请问该怎么实现这个效果

@alienzhou
Copy link
Owner

可以记录 highlight 的 id,在点击后调用 highlight.remove(id) 方法来删除高亮区域。

@kolento2024
Copy link

请问同样的文字被多次标注高亮后,怎么处理,如果再删除的话

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

3 participants