fn

ownedEdit

Edits writekit performs as commands instead of the browser. historyUndo/ historyRedo arrive from the context menu and from platforms whose undo shortcut never reaches the keymap; the format* family comes from native shortcuts and menus on some platforms.

Signature

ts
export function ownedEdit(inputType: string, history: HistoryCommands): Command | undefined{ ... }

Parameters

ParameterTypeDescription
inputTypestring—
historyHistoryCommands—

Returns

Command | undefined