Preserve rich formatting when restoring selected text

This commit is contained in:
muena
2026-09-27 10:23:37 +02:00
parent 94806aa049
commit ec1e2d27e0
6 changed files with 463 additions and 56 deletions

View File

@@ -11,7 +11,8 @@ import {
Toast,
useNavigation,
} from "@raycast/api";
import { copyRichText, markdownToHtml, maybeCloseRaycast } from "./ai-views";
import { markdownToHtml, maybeCloseRaycast } from "./ai-views";
import { copyRichText } from "./rich-clipboard";
import { getSelectedTextSafely } from "./selection";
import { useEffect, useMemo, useRef, useState } from "react";
import {