feat: markdown toolbar customization (#776)

This commit is contained in:
Daniel Lautzenheiser
2023-05-03 12:09:31 -04:00
committed by GitHub
parent a7ab1a7c0d
commit cd13f3d193
47 changed files with 1594 additions and 795 deletions

View File

@ -525,6 +525,42 @@ collections:
widget: markdown
media_library:
folder_support: true
- name: customized_buttons
label: Customized Buttons
widget: markdown
toolbar_buttons:
main:
- bold
- italic
- font
- shortcode
- label: Insert
groups:
- items: ['image', 'file-link']
- items: ['insert-table']
empty:
- bold
- italic
- font
- label: Insert
groups:
- items: ['image', 'file-link']
- items: ['blockquote', 'code-block']
selection:
- bold
- italic
- font
- file-link
table_empty:
- insert-row
- insert-column
- delete-row
- delete-column
- delete-table
table_selection:
- bold
- italic
- font
- name: number
label: Number
file: _widgets/number.json