Configuration, that is expected as part of the CKEditor 5 link-feature configuration.
const linkAttributesConfig: LinkAttributesConfig = { attributes: [ { view: "title", model: "linkTitle" }, { view: "data-xlink-actuate", model: "linkActuate" }, ],};ClassicEditor.create(sourceElement, { plugins: [ LinkAttributes, Link, // ... ], link: { defaultProtocol: "https://", ...linkAttributesConfig, },}; Copy
const linkAttributesConfig: LinkAttributesConfig = { attributes: [ { view: "title", model: "linkTitle" }, { view: "data-xlink-actuate", model: "linkActuate" }, ],};ClassicEditor.create(sourceElement, { plugins: [ LinkAttributes, Link, // ... ], link: { defaultProtocol: "https://", ...linkAttributesConfig, },};
Configuration of attributes, which are to be handled as being part of a link, similar to href (linkHref in model).
href
linkHref
Configuration, that is expected as part of the CKEditor 5 link-feature configuration.