• Returns a default target for a given url, based on the link configuration.

    Parameters

    • url: string

      the url of the link

    • config: default<EditorConfig>

      the editor config

    Returns undefined | string

    the default linkTarget or undefined if no matching filter rule exists