Command to be bound in LinkActionsView to set a certain target behavior.

Hierarchy

  • default
    • LinkTargetCommand

Constructors

  • Creates a new Command instance.

    Parameters

    • editor: default

      The editor on which this command will be used.

    Returns LinkTargetCommand

Methods

  • Validates if all given attributes are hypothetically supported by the given element. The result is always false if the element does not exist.

    Parameters

    • element: undefined | null | default

      element to hypothetically validate attributes for

    • schema: default

      schema to use for validation

    • attribute: string

      first attribute to check

    • Rest ...otherAttributes: string[]

      other attributes to check

    Returns boolean