liveblog
liveblog copied to clipboard
Add Entry Headline and clear when creating new entry
Extends https://github.com/Automattic/liveblog/pull/473 with clearing of the headline editor when creating a new entry.
Fixes https://github.com/Automattic/liveblog/issues/375
Based on https://github.com/paulschreiber/liveblog/pull/17
- Add a headline field above the TinyMCE editor, (similar to LivePress).
- Headline field is optional.
- Store the headline in wp_comment meta.
- Send the headline over JSON as part of the API request for updates.
- Render the headline, if present, in EntryContainer.js
- php rendering for headline in liveblog-single-entry.php
- Clear headline after posting from main/top editor (track last update)
- Sync headline from data when using inline editor/editing exiting entries
Added the built files as well, @cain can you give this a test?
@adamsilverstein Done some basic testing, seems to be working fine.
Whats everyones thoughts on using the headline as the key event widget content? Seems like it would be perfect and fix issue #464
Whats everyones thoughts on using the headline as the key event widget content? Seems like it would be perfect and fix issue #464
Yep, I think that'd be a good addition!
This is going to need to be rebased to be testable.