+ A text selection is active. Do you want to edit the whole text or just the selected part?
+
+
+ {pendingAiScopeChoice.selection.text}
+
+
+
+
+
+
+
+
+ ) : null}
+
+ {customPromptState ? (
+
+
setCustomPromptState(null)} />
Custom Prompt
- Tell the AI what it should do with the current text.
+ Tell the AI what it should do with the current{" "}
+ {customPromptState.scope === "selection" ? "selection" : "text"}.