docbrown/app/javascript/utilities/__tests__
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
..
dragAndDrop.test.js Drag and drop an image in the editor (#10145) 2020-09-04 14:12:59 -04:00
moderation.test.js [15 min fix] Fixed an issue with the moderation button not appearing on some posts (#14184) 2021-07-13 10:31:00 +02:00
pasteImage.test.js Add paste image (#10212) 2021-02-04 10:58:56 -05:00
search.test.js Prep work to sync mobile search in #10424 (#11525) 2020-11-30 06:13:06 -05:00
textAreaUtils.test.js Markdown editor toolbar (#14876) 2021-10-19 09:22:54 +01:00
timeAgo.test.js Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00