UNPKG

@postrchild/editor

Version:

A set of fancy react components to help build micropub clients!

22 lines (13 loc) 799 B
# PostrChild Editor An opinionated set of react components to help make developing [micropub](https://indieweb.org/micropub) clients a breeze. See how to use them in the [storybook](https://grantcodes.github.io/postrchild-editor) - (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