@contentgrowth/llm-service 1.0.9 → 1.1.1
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 +38 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +30 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.js +38 -10
- package/dist/index.js.map +1 -1
- package/dist/ui/react/components/index.cjs +1 -0
- package/dist/ui/react/components/index.cjs.map +1 -1
- package/dist/ui/react/components/index.js +1 -0
- package/dist/ui/react/components/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -612,6 +612,7 @@ var ChatInputArea = forwardRef(({
|
|
|
612
612
|
const before = currentVal.substring(0, selection.start);
|
|
613
613
|
const after = currentVal.substring(selection.end);
|
|
614
614
|
const newText = before + text + after;
|
|
615
|
+
pendingSelectionRef.current = { start: selection.start, end: selection.start + text.length };
|
|
615
616
|
triggerChange(newText);
|
|
616
617
|
lastSelectionRef.current = null;
|
|
617
618
|
} else {
|