Markdown Toolbar Element Versions Save

Markdown formatting buttons for text inputs.

v1.5.0

3 years ago

This release adds a shortcut cmd/ctrl+shift+E for automatically wrapping selected text in a code block.

This also fixes a bug with capitalisation of hotkeys implying shift. On MacOS the cmd+shift plane specifically lower-cases letters, meaning event.key is set to lower case if metaKey and shiftKey are true; the same is not true for ctrl, or for other OSes. This fixes the bug so that the presence of shiftKey will capitalise event.key, for the hotkey attribute.

v1.4.0

3 years ago

This release adds the <md-strikethrough> element for applying Strikethrough formatted text to a selection. Thanks @mattmikolay

v1.3.2

3 years ago
  • #34 Fix invalid selector in hotkey query

v1.3.1

3 years ago
  • Add a fallback for getRootNode

v1.3.0

3 years ago
  • Support Shadow DOM context.
  • Convert to TypeScript/remove Flow type support.
  • Package is now type module. UMD build is removed.

v1.2.0

4 years ago
  • Feat add focus management for toolbar (#30)
  • Bump acorn from 6.1.1 to 6.4.1 (#29)

https://github.com/github/markdown-toolbar-element/compare/v1.1.1...v1.2.0

v1.1.1

4 years ago
  • Add type to HTMLElementTagNameMap in typescript declaration file (#28)

https://github.com/github/markdown-toolbar-element/compare/v1.1.0...v1.1.1

v1.0.7

4 years ago
  • types(ts): add window declaration a8a7aa0
  • use GitHub CI 07732b5

https://github.com/github/markdown-toolbar-element/compare/v1.0.6...v1.0.7

v1.0.6

4 years ago
  • Merge pull request #14 from github/publish-to-gpr-as-well c6d9760
  • publish to GPR as a postpublish step 662808e

https://github.com/github/markdown-toolbar-element/compare/v1.0.5...v1.0.6