docbrown/spec/helpers
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
..
application_helper_spec.rb Remove #sanitize_and_decode (#14727) 2021-09-15 11:05:06 -04:00
articles_helper_spec.rb Rubocop: move dot in multi-line calls to leading position (#9262) 2020-07-16 15:51:11 +02:00
authentication_helper_spec.rb Markdown editor toolbar (#14876) 2021-10-19 09:22:54 +01:00
date_helper_spec.rb Update format specifiers in readable_publish_date (#13660) 2021-05-07 08:51:49 +02:00
display_ad_helper_spec.rb Rubocop fixes (#14868) 2021-09-30 13:22:09 -04:00
feedback_messages_helper_spec.rb Clean up SiteConfig (#13738) 2021-05-18 09:38:31 +07:00
listing_helper_spec.rb Flaky Spec Fix:Remove let_it_be Test Prof Helper (#9556) 2020-07-29 11:31:01 +02:00
notifications_helper_spec.rb Move app/labor/reaction_image.rb to helper (#11678) 2020-12-01 14:15:30 +07:00
organization_helper_spec.rb Fix flaky organization helper spec (#7785) 2020-05-12 13:20:05 +02:00
profile_helper_spec.rb Add safe navigation operator to stop 500 errors (#13646) 2021-05-04 11:37:37 -04:00
rate_limit_checker_helper_spec.rb Create settings model for rate limits (#13381) 2021-04-20 11:29:22 +07:00
social_image_helper_spec.rb Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
social_link_helper_spec.rb Flaky Spec Fix:Remove let_it_be Test Prof Helper (#9556) 2020-07-29 11:31:01 +02:00