enzostvs HF Staff commited on
Commit
3201f5d
·
1 Parent(s): 39e2838

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
- // disabled={globalAiLoading || globalEditorLoading}
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
- {/* Select an element on the page to ask DeepSite edit it directly. */}
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
  );