Skip to content

Guard caret checks until editor view mounts #4696

@ComputelessComputer

Description

@ComputelessComputer

Consolidating #4499 and #4680. The enhanced summary flow can remount the editor and run caret-position effects before TipTap has attached its ProseMirror view, so editor.view.coordsAtPos throws the editor-view-not-available error. This likely means the mount effect is reading editor.view during the streaming-to-editor handoff without guarding that the view exists yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    In progress

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions