liveblog icon indicating copy to clipboard operation
liveblog copied to clipboard

Add Entry Headline and clear when creating new entry

Open adamsilverstein opened this issue 7 years ago • 4 comments

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

adamsilverstein avatar May 30 '18 16:05 adamsilverstein

Added the built files as well, @cain can you give this a test?

adamsilverstein avatar May 31 '18 03:05 adamsilverstein

@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

cain avatar May 31 '18 05:05 cain

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!

philipjohn avatar Oct 08 '18 09:10 philipjohn

This is going to need to be rebased to be testable.

GaryJones avatar Jun 07 '24 12:06 GaryJones