# LinkDecoratorDefinition

typedef

A link decorator definition. Two types implement this definition:

* [`LinkDecoratorManualDefinition`](module_link_linkconfig-LinkDecoratorManualDefinition.md)
* [`LinkDecoratorAutomaticDefinition`](module_link_linkconfig-LinkDecoratorAutomaticDefinition.md)

Refer to their document for more information about available options or to the [link feature guide](../features/link.md#custom-link-attributes-decorators) for general information.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-link/src/linkconfig.ts#L227)

#### Value

`LinkDecoratorAutomaticDefinition | LinkDecoratorManualDefinition`

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
