@copilotkit/react-textarea 1.70.1 → 1.70.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1072,7 +1072,6 @@ const HoveringToolbar = (props) => {
1072
1072
  editorState: editorState(editor, selection),
1073
1073
  apiConfig: props.apiConfig,
1074
1074
  performInsertion: (insertedText) => {
1075
- slate.Transforms.delete(editor, { at: selection });
1076
1075
  slate.Transforms.insertText(editor, insertedText, { at: selection });
1077
1076
  setIsDisplayed(false);
1078
1077
  },