static-cms icon indicating copy to clipboard operation
static-cms copied to clipboard

It should be possible to configure the markdown widget toolbar font items

Open stoepekapel opened this issue 11 months ago • 0 comments

It should be possible to configure the toolbar font items ("paragraph", "Heading 1",...)"?
As with many projects, users are not allowed to add an h1, for example

Something like:

  - label: Body
    name: body
    widget: markdown
    toolbar_buttons:
      main:
        - bold
        - italic
        - font
        - unordered-list
        - ordered-list
      selection:
        - bold
        - italic
      font:
        - paragraph
        - h3
        - h4

or as buttons:

  - label: Body
    name: body
    widget: markdown
    toolbar_buttons:
      main:
        - bold
        - italic
        - h3
        - h4
        - unordered-list
        - ordered-list
      selection:
        - bold
        - italic

stoepekapel avatar Mar 23 '24 17:03 stoepekapel