Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor: Sync blocks state to edited post content #9403

Closed
wants to merge 8 commits into from

Commits on Sep 17, 2018

  1. Configuration menu
    Copy the full SHA
    5fb8cf3 View commit details
    Browse the repository at this point in the history
  2. Editor: withChangeDetection: Fix error on initial state

    Ignored initial state action should default to non-dirty
    aduth committed Sep 17, 2018
    Configuration menu
    Copy the full SHA
    c54aa54 View commit details
    Browse the repository at this point in the history
  3. Editor: withHistory: Avoid initial past for ignored entries

    Non-apparent assumption that past should be created even when action type is ignored
    aduth committed Sep 17, 2018
    Configuration menu
    Copy the full SHA
    ec77506 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    097df11 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    caed8bf View commit details
    Browse the repository at this point in the history
  6. Editor: Selectors: Always derive content from blocks state

    Previously the Code Editor would sync its textarea value with state, hence the need to prefer state content edits when retrieving content. The Code Editor component since been revised to maintain its own value state internally. Passing content from blocks state and persisting on subsequent blur is sufficient to drop this logic.
    aduth committed Sep 17, 2018
    Configuration menu
    Copy the full SHA
    c3442c0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9b7a495 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    25787b1 View commit details
    Browse the repository at this point in the history