Skip to content

Bug: getNearestEditorFromDOMNode is missing in flow #7148

Open
@Dagur

Description

Lexical version:

Steps To Reproduce

  1. import { getNearestEditorFromDOMNode } from "lexical"
  2. Cannot import getNearestEditorFromDOMNode because there is no getNearestEditorFromDOMNode export in lexical. [missing-export]

Link to code example:

not needed I think.

The current behavior

The function gets imported but a $FlowFixMe is needed to suppress the error.

The expected behavior

No error.

Impact of fix

Not severe

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