1.0.0-beta.2 • Published 4 years ago
@postrchild/editor v1.0.0-beta.2
PostrChild Editor
An opinionated set of react components to help make developing micropub clients a breeze.
See how to use them in the storybook - (make sure to check the Notes tab for code examples)
TODO: Media files: Should have option to provide an upload function that takes the file and returns a promise that resolves to the url of the uploaded file. This should probably only run if a media endpoint is set in the mp-config. Otherwise the server needs to send the media via multipart encoding.
Improved styles
Maybe dark mode?
Add option to override theme
Doesnt work ssr? Testing: check fields all work prefilled. In particular: media, dates & locations
Write full usage notes