Function simplifySelectionAndMaybeSwitchToCommandMode
- simplifySelectionAndMaybeSwitchToCommandMode(
target: {
dispatch: (transaction: Transaction) => void;
dom: HTMLElement;
state: EditorState;
},
): boolean Parameters
- target: {
dispatch: (transaction: Transaction) => void;
dom: HTMLElement;
state: EditorState;
}
Returns boolean
Simplify selection but do not prevent default to allow switching to command mode.