Skip to main content
Modular Documentation
Guides
Reference
Reference
/
@modular/sdk/editor
$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