pinax / pinax-blog

a blog app for Django
MIT License
464 stars 153 forks source link

Support front-end creation and editing of posts #62

Open jtauber opened 9 years ago

jtauber commented 9 years ago

as is done for pinax-pages, would be nice to support in pinax-blog

paltman commented 8 years ago

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:

paltman commented 8 years ago

Check out the work @davelowe did in #8

paltman commented 8 years ago

Instead of ace.js, I wonder about https://quilljs.com/

paltman commented 8 years ago

also: https://facebook.github.io/draft-js/

paltman commented 7 years ago

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.

paltman commented 7 years ago

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?