Markdown formatting buttons for text inputs.
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.
This release adds the <md-strikethrough>
element for applying Strikethrough formatted text to a selection. Thanks @mattmikolay
https://github.com/github/markdown-toolbar-element/compare/v1.1.1...v1.2.0
https://github.com/github/markdown-toolbar-element/compare/v1.1.0...v1.1.1
<md-image>
element (https://github.com/github/markdown-toolbar-element/pull/22).<md-header>
(https://github.com/github/markdown-toolbar-element/pull/20, https://github.com/github/markdown-toolbar-element/pull/24).https://github.com/github/markdown-toolbar-element/compare/v1.0.7...v1.1.0
https://github.com/github/markdown-toolbar-element/compare/v1.0.6...v1.0.7
https://github.com/github/markdown-toolbar-element/compare/v1.0.5...v1.0.6