Skip to content

PlimEditorProps

type PlimEditorProps = {
asyncEventListeners?: AsyncListenerRegistration[];
autoFocus?: boolean;
className?: string;
handle?: EditorHandle;
initialContent?: DocumentNode;
onTransaction?: (tx, state) => void;
plim: PlimDriver;
readonly?: boolean;
style?: React.CSSProperties;
whenReady?: () => void;
};

Defined in: react/src/index.tsx:60

PropertyTypeDefined in
asyncEventListeners?AsyncListenerRegistration[]react/src/index.tsx:68
autoFocus?booleanreact/src/index.tsx:65
className?stringreact/src/index.tsx:69
handle?EditorHandlereact/src/index.tsx:62
initialContent?DocumentNodereact/src/index.tsx:63
onTransaction?(tx, state) => voidreact/src/index.tsx:66
plimPlimDriverreact/src/index.tsx:61
readonly?booleanreact/src/index.tsx:64
style?React.CSSPropertiesreact/src/index.tsx:70
whenReady?() => voidreact/src/index.tsx:67