CoreMedia CKEditor 5 Plugins
    Preparing search index...

    Adds an attribute linkTarget to the model, which will be represented as target attribute in view.

    Hierarchy

    • Plugin
      • LinkTargetModelView
    Index

    Constructors

    • Parameters

      • editor: Editor

      Returns LinkTargetModelView

    Properties

    pluginName: "LinkTargetModelView" = ...
    requires: typeof LinkAttributes[] = ...

    Methods

    • If a link element is created in the root, a new paragraph (containing the link element as a child) will be created. This function checks for those children.

      Parameters

      • diffItem: DifferItem

        the original diffItem

      • writer: ModelWriter

        the writer

      Returns void