pinax-blog
pinax-blog copied to clipboard
Support front-end creation and editing of posts
as is done for pinax-pages, would be nice to support in pinax-blog
I would like to see this as a very rich experience leveraging pinax-images
and pinax-images-panel
. I'm thinking a ReactJS frontend coupled with a pinax-blog-authoring
package (or similar) with the following features:
- auto-saves as you type content
- ace.js editor
- markdown preview
- auto-populate
description
fromteaser
- replace the post images in
pinax-blog
withpinax-images
(#73) - list view with much of the admin functionality of search / filter / sort
Check out the work @davelowe did in #8
Instead of ace.js, I wonder about https://quilljs.com/
also: https://facebook.github.io/draft-js/
I'm now thinking we add the views to support templates/static initially built out in the pinax blog starter project that will run:
https://github.com/yabwe/medium-editor
with
https://github.com/orthes/medium-editor-insert-plugin
To provide a medium-like editing experience, complete with auto-saving: https://github.com/yabwe/medium-editor/issues/856
In order to auto-save, we'll need to create a post as soon as we have content to send. This raises the question of how to handle all the various fields.
Perhaps we only have a Title and Content fields. The subtitle, which medium seems to make out of an h4 if it's the first bit of content in the content area, could be extracted as the teaser.
But this also raises the question of do we care about the Revision
model anymore? Do we want to require markup
or can we post directly to *_html
fields?