Plugin - Image Link Editor

API Reference vce-plugin-image-link-editor

HTML Attributes API

Name Description Type Required Default value
translations Sets the translations object {}
link-data Sets the translations ImageLinkEditorData {}

ImageLinkEditorData

{
  [key: string] {
        data: 'Link',
        readonly: 'Boolean',
        removeable: 'Boolean',
      }
}

Link

{
  href: 'String',
  title: 'String',
}

Method

Name Description Parameter
getButton Returns a clickable button HTMLImageElement