onBeforeCommand property

(void Function(String?)?) onBeforeCommand
getter/setter pair

Called before certain commands are fired and the editor is in rich text view. There is currently no documentation on this parameter, thus it is unclear which commands this will fire before.

This function will return the current HTML in the editor as an argument.

Implementation

void Function(String?)? onBeforeCommand;