docbrown/app/javascript/chat
Nick Taylor f0963c1bfa
Drag and drop an image in the editor (#10145)
* Refactored drag n drop functionality to a hook and component.

* Add the snackbar to the article editor.

* Now you can drag and drop images in the post body content.

* Cleaning up a few things.

* Now post cover images can be dragged and dropped.

* Removed unused empty function.

* Added @testing-library/preact-hooks so that we can test hooks.

* Some renaming, small refactor.

* Added tests

* Added more tests.

* Added more tests.

* Added message about dropping only one image in post body.

* Added message about dropping only one image for cover image.

* put onDrop into it's own meethod.

* More tests.

* Added some API documentation.

* Updated editor help with drag and drop image help.

* Changed wording.

* Now the alt text for markdown removes the file extension.

* Updated help wording. Thanks @rhymes

* Now the image markdown adds a new line at the end as we currently do not support inline images.
2020-09-04 14:12:59 -04:00
..
__tests__ [deploy] 🚀 Feature: Chat channel request manager (#9305) 2020-07-22 09:12:09 -04:00
actions [deploy] 🚀 Feature: Chat channel request manager (#9305) 2020-07-22 09:12:09 -04:00
ChatChannelSettings [deploy] Introduces Runtime class for standardized & other native cleanup + replace podcast GA with ahoy (#10026) 2020-08-28 05:52:04 -06:00
components [deploy] Discoverable channel will open CTA to request join if not available (#8999) 2020-06-30 13:03:41 -05:00
messages Fix eslint lints in chat's jsx files (#4302) [deploy] 2019-11-04 15:51:30 -05:00
RequestManager [deploy] 🐞Bug Fix: Room that has been left still shows up in URL [Fixes: #9501] (#9804) 2020-08-18 09:29:40 -04:00
actionMessage.jsx [deploy] 🚀Feature: chat action messages if a member added, left or removed from the group (#7105) 2020-04-08 18:14:34 -04:00
alert.jsx Upgrade to Preact 10.4.4 (#8739) 2020-06-18 10:07:17 -04:00
article.jsx Upgrade to Preact 10.4.4 (#8739) 2020-06-18 10:07:17 -04:00
channelRequest.jsx Upgrade to Preact 10.4.4 (#8739) 2020-06-18 10:07:17 -04:00
channels.jsx [deploy] 🐞Hotfix: Connect page is showing discoverable channels (#9071) 2020-07-02 07:44:26 -05:00
chat.jsx Drag and drop an image in the editor (#10145) 2020-09-04 14:12:59 -04:00
compose.jsx Upgrade to Preact 10.4.4 (#8739) 2020-06-18 10:07:17 -04:00
content.jsx [deploy] 🐞Bug Fix: Room that has been left still shows up in URL [Fixes: #9501] (#9804) 2020-08-18 09:29:40 -04:00
message.jsx Move edit and delete buttons on chat messages to dropdown menu (#7820) 2020-06-29 14:14:23 +02:00
util.js [deploy] 🚀 Feature: Chat Channel Request manager for mods (#7904) 2020-06-02 17:23:56 -04:00
videoContent.jsx [deploy] Fixed broken video capabilities of Connect (#8922) 2020-06-26 11:32:34 -04:00