@copilotkit/react-textarea 1.70.1 → 1.70.2

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.mjs CHANGED
@@ -1039,7 +1039,6 @@ const HoveringToolbar = (props) => {
1039
1039
  editorState: editorState(editor, selection),
1040
1040
  apiConfig: props.apiConfig,
1041
1041
  performInsertion: (insertedText) => {
1042
- Transforms.delete(editor, { at: selection });
1043
1042
  Transforms.insertText(editor, insertedText, { at: selection });
1044
1043
  setIsDisplayed(false);
1045
1044
  },