Skip to content

client livepreview callback #10654

Closed

Description

@j-mir-prazak

Hi,
maybe i am not getting it, why this is the case, however isn't it little bit strange to send back initialData (it is fired on document save)?

I don't know how it is in react or vue, but it seems to be bit too cumbersome to compare if it is initData or mergeData and there isn't any message in callback as what data this is (there is some in the window event, though).

If the return would be null, it would be comparable at least - but initialData just seem strange choice.

I would be greatful for any insight into this - or how would one go about easily discerning if this is newData or initData.

Thanks

Activity

  1. j-mir-prazak commented on Jan 17, 2025

    @j-mir-prazak
    Author

    okey, my bad - i guess i can just compare the two (i just have to not spead the object - naturally). however still it seems, that could be some assertion as what event just happen: live edit or document save

  2. jacobsfletch commented on Oct 8, 2025

    @jacobsfletch
    Member

    This was fixed in #12925.

  3. github-actions commented on Oct 16, 2025

    @github-actions
    Contributor

    This issue has been automatically locked.
    Please open a new issue if this issue persists with any additional detail.

  4. locked as resolved and limited conversation to collaborators on Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions