* 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> |
||
|---|---|---|
| .. | ||
| ArticleCoverImage.test.jsx | ||
| Close.test.jsx | ||
| dragAndDropHelpers.test.js | ||
| Form.test.jsx | ||
| Help.test.jsx | ||
| ImageUploader.test.jsx | ||
| Options.test.jsx | ||
| PageTitle.test.jsx | ||
| Preview.test.jsx | ||
| Tabs.test.jsx | ||
| Title.test.jsx | ||