Skip to content

Use AutoLinkPlugin with TOGGLE_LINK_COMMAND #4337

Open
@flex-haegul

Description

@flex-haegul

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovement over existing featurehyperlinksRelates to Lexical Links

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions