feat(widget-markdown): add headings dropdown (#2879)

This commit is contained in:
Christian Fritsch
2019-11-18 23:16:33 +01:00
committed by Shawn Erquhart
parent dc0c4c51ed
commit 78face334f
6 changed files with 58 additions and 21 deletions

View File

@ -1,5 +1,5 @@
---
label: "Markdown"
label: 'Markdown'
title: markdown
---
@ -12,7 +12,7 @@ _Please note:_ If you want to use your markdown editor to fill a markdown file c
- **Data type:** markdown
- **Options:**
- `default`: accepts markdown content
- `buttons`: an array of strings representing the formatting buttons to display, all buttons shown by default. Buttons include: `bold`, `italic`, `code`, `link`, `heading-one`, `heading-two`, `quote`, `code-block`, `bulleted-list`, and `numbered-list`.
- `buttons`: an array of strings representing the formatting buttons to display, all buttons shown by default. Buttons include: `bold`, `italic`, `code`, `link`, `heading-one`, `heading-two`, `heading-three`, `heading-four`, `heading-five`, `heading-six`, `quote`, `code-block`, `bulleted-list`, and `numbered-list`.
- **Example:**
```yaml