A plugin, which will listen to removed links, thus, removed linkHref attributes and remove any possible orphaned link attributes. All link attributes to remove, must be registered at this plugin.

An alternative to this plugin may be listening to Unlink command, which again raises the challenge to calculate the affected ranges to modify.

The plugin is based on a post-fixer registered at the document

Hierarchy (view full)

Implements

Constructors

  • Parameters

    • editor: default

    Returns LinkCleanup

    Inherit Doc

Properties

pluginName: string = "LinkCleanup"
requires: never[] = []

Methods