handleCloseEditor method

void handleCloseEditor()

Handles the close editor action.

This method calls the onCloseEditor callback and then calls handleUpdateUI.

Implementation

void handleCloseEditor() {
  onCloseEditor?.call();
  handleUpdateUI();
}