Use AutoLinkPlugin with TOGGLE_LINK_COMMAND
Open
enhancement
hyperlinks
- Dominant language
- TypeScript
- Stars
- 23.9k
- Forks
- 2.2k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 55
Description
Hello,
I'm using the Link Plugin and AutoLink Plugin in my project, along with a custom plugin. In this custom plugin, I'm calling the `editor.dispatchCommand(TOGGLE_LINK_COMMAND, null)` command to remove a link.
However, I'm facing an issue where after removing the link, the AutoLink Plugin's behavior, implemented through registerNodeTransform, is causing the link to be re-added.
Do you have any suggestions on how to solve this problem?
Contributor guide
Assessment
This issue has not been assessed yet.