UNPKG

@lobehub/editor

Version:

A powerful and extensible rich text editor built on Meta's Lexical framework, providing a modern editing experience with React integration.

13 lines (12 loc) 239 B
import { TextModeType } from 'lexical'; import { INode } from './i-node'; /** * Text node */ export interface ITextNode extends INode { detail: number; mode: TextModeType; style: string; text: string; type: 'text'; }