Skip to content

Post preview displays stale content #2207

@mkevins

Description

@mkevins

Describe the bug

The post preview does not always relfect the latest state of the content. This issue was encountered here. In the screencast below, the preview content displayed is "stale" for button block inside a group, however, I have also reproduced the behavior with only paragraph blocks.

Screencast - Preview doesn't show new content after button inside group

To Reproduce

  1. Add a new post
  2. Repeat the following 3 times:
    1. Add a paragraph with some text
    2. View preview (obvserve the new paragraph is display in the preview)
    3. Switch back to editing

On the third edit, I observed that the preview content was "stale".

Expected behavior
The post preview should display the most up-to-date post content.

Smartphone:

  • Device: iPhone 11
  • OS: iOS 13.3.1

Additional context
It may be worth investigating whether provideToNative_Html sends the correct value for hasChanges.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions