Skip to main content

$getEditor

function

Utility function for accessing current active editor instance.

function $getEditor(): LexicalEditor

Import

import { $getEditor } from '@modular/sdk/editor';

Notes

returns
Current active editor