handleCut function

void handleCut(
  1. EditorState editorState
)
  1. delete selected content

Implementation

void handleCut(EditorState editorState) {
  handleCopy(editorState);
  deleteSelectedContent(editorState);
}