• Adds or removes "cm-ck-link-view--show-content-link" to the form view's (and action view's) element or to the corresponding template if the view is not rendered yet. This affects whether the content or external link field (or url preview) is shown.

    Parameters

    • view: default<HTMLElement>

      the view with the element the class should be added to or removed from

    • show: boolean

      true to display the content link field, false to display the external link field (default).

    Returns void