docbrown/app/views/comments
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
..
_comment.html.erb Remove legacy "deleted commentable" view (#15052) 2021-10-13 10:23:25 -04:00
_comment.json.jbuilder [deploy] Reintroduce sticky_nav changes (ab81f36 & 7f92855) (#10263) 2020-09-09 15:33:13 -04:00
_comment_avatar.html.erb Add loading=lazy to image tags (#10888) 2021-05-27 19:01:21 +02:00
_comment_date.erb Add horizontal padding on preview card trigger button (#14472) 2021-08-11 12:31:48 +01:00
_comment_footer.html.erb Admin-configurable display locale (#14620) 2021-09-28 11:04:35 -04:00
_comment_header.html.erb Markdown editor toolbar (#14876) 2021-10-19 09:22:54 +01:00
_comment_proper.html.erb Remove legacy "deleted commentable" view (#15052) 2021-10-13 10:23:25 -04:00
_comment_quality_marker.html.erb Update the UI for Low-Quality-Comments Notice (#12952) 2021-03-16 09:40:29 -04:00
_discussion_lock_reason.html.erb Create DiscussionLocks (#13905) 2021-06-10 11:04:33 -04:00
_form.html.erb Edit buttons styles for Templates responses (Mod) (#14468) 2021-08-12 15:57:36 +01:00
_liquid.html.erb Remove social icons from comment liquid tag (#11186) 2020-11-02 09:57:08 -05:00
delete_confirm.html.erb Comments UI update (#11283) 2020-11-18 18:21:19 -05:00
edit.html.erb Fix: no title shown in comment edit page (#15066) 2021-10-13 10:54:42 -06:00
index.html.erb views/videos i18n (#15022) 2021-10-14 16:08:11 -06:00
index.json.jbuilder
new.html.erb
settings.html.erb Comments UI update (#11283) 2020-11-18 18:21:19 -05:00