docbrown/app/javascript/article-form/components
ludwiczakpawel 6c3f5d51fe
Drop containers styling (#10203)
* 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.

* drag and drop styling

* .

* revert

* Fixed broken test.

Co-authored-by: Nick Taylor <nick@dev.to>
2020-09-09 09:37:16 +02:00
..
__tests__ Drop containers styling (#10203) 2020-09-09 09:37:16 +02:00
ArticleCoverImage.jsx [deploy] Fixed issue with drag and drop image for cover image in editor. (#10254) 2020-09-08 16:43:23 -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 Drop containers styling (#10203) 2020-09-09 09:37:16 +02:00
EditorActions.jsx Fixed a bunch of linting issues in components (#8921) 2020-06-26 10:26:02 -04:00
EditorBody.jsx Drop containers styling (#10203) 2020-09-09 09:37:16 +02: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 Drop containers styling (#10203) 2020-09-09 09:37:16 +02: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