docbrown/app/javascript/crayons
Suzanne Aitchison 5069cd681a
Markdown editor toolbar (#14876)
* rough starting point, roving tabindex in toolbar, bold and italic buttons

* refactor, add link

* add ul

* add ordered list

* core formatters in place, wip

* overflow options

* add keyboard shortcuts

* tidy up some dodgy classes

* add mocks for runtime in test and storybook, use correct modifier key for tooltip

* style tweaks

* refactor tooltips

* add markdown formatters tests

* add tests for toolbar component, fix mistake in overflow menu tooltips

* undo change no longer needed to button

* fix issue accessing runtime in formatters file

* only show darkened buttons and tooltips when focus-visible is true

* mobile view

* fix for responsive buttons & roving tabindex

* tweaks from PR review

* update cursor position on link insertion

* add a new line after block selection formatting

* align icons in center

* tidy up overflow menu listeners

* small refactors

* test for new text area util

* tidy up new lines after syntaxes

* fix logic in cursor offsets for links

* prevent scroll jumps after inserting syntax

* some style tweaks

* insert level 2 heading with new lines above and below

* update icons

* use margin instead of gap
2021-10-19 09:22:54 +01:00
..
avatarsAndLogos Storybook: Add DocsPage and test out static content (#11397) 2020-12-02 09:56:38 -08:00
Button Markdown editor toolbar (#14876) 2021-10-19 09:22:54 +01:00
ButtonGroup Fix Prop Types Error #14837 (#14889) 2021-10-05 10:58:48 +02:00
Dropdown Add support for JSX copy paste in Storybook (#14591) 2021-08-30 09:36:01 +01:00
formElements Storybook: Add DocsPage and test out static content (#11397) 2020-12-02 09:56:38 -08:00
guidelines/__stories__ Remove docs from repo ✂✂✂ (#14579) 2021-08-23 17:23:42 -04:00
Indicator/__stories__ Storybook: Add DocsPage and test out static content (#11397) 2020-12-02 09:56:38 -08:00
MarkdownToolbar Markdown editor toolbar (#14876) 2021-10-19 09:22:54 +01:00
MentionAutocompleteTextArea prevent scroll jumps when using mention autocomplete (#15031) 2021-10-12 13:06:27 +01:00
MobileDrawer Add copy to HTML feature for storybook (#14599) 2021-08-27 16:09:21 +01:00
Modal Fix Prop Types Error #14837 (#14889) 2021-10-05 10:58:48 +02:00
navigation Rename jest test from spec.js to test.js, so it actually runs (#14972) 2021-10-07 08:13:47 -05:00
Notice/__stories__ Storybook: Add DocsPage and test out static content (#11397) 2020-12-02 09:56:38 -08:00
Select/__stories__ Storybook: Add DocsPage and test out static content (#11397) 2020-12-02 09:56:38 -08:00
Spinner Storybook: Add DocsPage and test out static content (#11397) 2020-12-02 09:56:38 -08:00
storybook-utilities Storybook: Add DocsPage and test out static content (#11397) 2020-12-02 09:56:38 -08:00
typography/__stories__ Text styles (#11743) 2021-02-04 11:43:59 +01:00
index.js Markdown editor toolbar (#14876) 2021-10-19 09:22:54 +01:00