Spaces:
Running
Running
editable mode
Browse files
components/editor/ask-ai/selector.tsx
CHANGED
|
@@ -23,8 +23,7 @@ export const Selector = () => {
|
|
| 23 |
onClick={() => {
|
| 24 |
setIsEditableModeEnabled?.(!isEditableModeEnabled);
|
| 25 |
}}
|
| 26 |
-
|
| 27 |
-
disabled={true}
|
| 28 |
className="!rounded-md"
|
| 29 |
>
|
| 30 |
<Crosshair className="size-3.5" />
|
|
@@ -35,8 +34,7 @@ export const Selector = () => {
|
|
| 35 |
align="start"
|
| 36 |
className="bg-neutral-950 text-xs text-neutral-200 py-1 px-2 rounded-md -translate-y-0.5"
|
| 37 |
>
|
| 38 |
-
|
| 39 |
-
The selector is temporarily disabled.
|
| 40 |
</TooltipContent>
|
| 41 |
</Tooltip>
|
| 42 |
);
|
|
|
|
| 23 |
onClick={() => {
|
| 24 |
setIsEditableModeEnabled?.(!isEditableModeEnabled);
|
| 25 |
}}
|
| 26 |
+
disabled={globalAiLoading || globalEditorLoading}
|
|
|
|
| 27 |
className="!rounded-md"
|
| 28 |
>
|
| 29 |
<Crosshair className="size-3.5" />
|
|
|
|
| 34 |
align="start"
|
| 35 |
className="bg-neutral-950 text-xs text-neutral-200 py-1 px-2 rounded-md -translate-y-0.5"
|
| 36 |
>
|
| 37 |
+
Select an element on the page to ask DeepSite edit it directly.
|
|
|
|
| 38 |
</TooltipContent>
|
| 39 |
</Tooltip>
|
| 40 |
);
|