docbrown/app/javascript/article-form/components
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__ Drag and drop an image in the editor (#10145) 2020-09-04 14:12:59 -04:00
ArticleCoverImage.jsx Drag and drop an image in the editor (#10145) 2020-09-04 14:12:59 -04:00
ClipboardButton.jsx Upgrade to Preact 10.4.4 (#8739) 2020-06-18 10:07:17 -04:00
Close.jsx Upgrade to Preact 10.4.4 (#8739) 2020-06-18 10:07:17 -04:00
dragAndDropHelpers.js Drag and drop an image in the editor (#10145) 2020-09-04 14:12:59 -04:00
EditorActions.jsx Fixed a bunch of linting issues in components (#8921) 2020-06-26 10:26:02 -04:00
EditorBody.jsx Drag and drop an image in the editor (#10145) 2020-09-04 14:12:59 -04:00
ErrorList.jsx Upgrade to Preact 10.4.4 (#8739) 2020-06-18 10:07:17 -04:00
Form.jsx Layout updates (#8107) 2020-06-04 16:12:17 +02:00
Header.jsx Fixed a bunch of linting issues in components (#8921) 2020-06-26 10:26:02 -04:00
Help.jsx Drag and drop an image in the editor (#10145) 2020-09-04 14:12:59 -04:00
ImageUploader.jsx [deploy] Introduces Runtime class for standardized & other native cleanup + replace podcast GA with ahoy (#10026) 2020-08-28 05:52:04 -06:00
index.jsx [deploy] Redesign article editor (#7524) 2020-05-29 11:59:37 -04:00
keyboardShortcutsHandler.jsx [deploy] Redesign article editor (#7524) 2020-05-29 11:59:37 -04:00
Meta.jsx [deploy] Article Design update (#8234) 2020-06-17 09:57:57 -04:00
Options.jsx Upgrade to Preact 10.4.4 (#8739) 2020-06-18 10:07:17 -04:00
PageTitle.jsx Layout updates (#8107) 2020-06-04 16:12:17 +02:00
Preview.jsx Improve styling for series (#9893) 2020-08-24 09:53:51 +02:00
Tabs.jsx [deploy] Redesign article editor (#7524) 2020-05-29 11:59:37 -04:00
TagsField.jsx Typography fix & Optimization (#9650) 2020-08-18 08:05:51 -04:00
Title.jsx Extending documentation... (#10156) 2020-09-03 10:53:22 -04:00
Toolbar.jsx [deploy] Redesign article editor (#7524) 2020-05-29 11:59:37 -04:00