Remove reference to icon fonts in 'extending Draftail' docs

pull/11211/head
Matt Westcott 2023-11-07 15:49:04 +00:00 zatwierdzone przez Thibaud Colas
rodzic 82debb62be
commit 574c218c2b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -68,7 +68,7 @@ For detailed configuration options, head over to the [Draftail documentation](ht
- The `type` is the only mandatory piece of information.
- To display the control in the toolbar, combine `icon`, `label` and `description`.
- The controls `icon` can be a string to use an icon font with CSS classes, say `'icon': 'fas fa-user',`. It can also be an array of strings, to use SVG paths, or SVG symbol references for example `'icon': ['M100 100 H 900 V 900 H 100 Z'],`. The paths need to be set for a 1024x1024 viewbox.
- `icon` is an icon name [registered in the Wagtail icon library](../../advanced_topics/icons) - for example, `'icon': 'user',`. It can also be an array of strings, to use SVG paths, or SVG symbol references for example `'icon': ['M100 100 H 900 V 900 H 100 Z'],`. The paths need to be set for a 1024x1024 viewbox.
### Creating new inline styles