- To integrate developer tools for Lexical.js in your React application,
- install @lexical-devtools/react and import{" "}
+
+
+
+
No editors found
+
+
+ To use Lexical DevTools in your React application, install{" "}
+ @lexical-devtools/react and import{" "}
{``} inside your{" "}
{`LexicalComposer`} component.
diff --git a/apps/extension/pages/devtools-panel/icons/info-circled-icon.tsx b/apps/extension/pages/devtools-panel/icons/info-circled-icon.tsx
new file mode 100644
index 0000000..3e4c4a2
--- /dev/null
+++ b/apps/extension/pages/devtools-panel/icons/info-circled-icon.tsx
@@ -0,0 +1,40 @@
+/**
+ * ISC License
+ *
+ * Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2022 as part of
+ * Feather (MIT). All other copyright (c) for Lucide are held by Lucide Contributors 2022.
+ *
+ * Permission to use, copy, modify, and/or distribute this software for any purpose
+ * with or without fee is hereby granted, provided that the above copyright notice
+ * and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD
+ * TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
+ * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
+ * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+import { SVGAttributes } from "react";
+
+export default function InfoCircledIcon(props: SVGAttributes) {
+ return (
+
+ );
+}
diff --git a/apps/extension/pages/devtools-panel/selection-panel.tsx b/apps/extension/pages/devtools-panel/selection-panel.tsx
index 6fcbafb..1753db3 100644
--- a/apps/extension/pages/devtools-panel/selection-panel.tsx
+++ b/apps/extension/pages/devtools-panel/selection-panel.tsx
@@ -6,8 +6,8 @@ import {
SerializedSelection,
} from "@lexical-devtools/utils";
import * as Collapsible from "./collapsible";
-import TriangleRightIcon from "./icons/triangle-right-icon";
import TextSelectionOffIcon from "./icons/text-selection-off-icon";
+import ChevronRightIcon from "./icons/chevron-right-icon";
const TreeContext = createContext(null);
@@ -91,31 +91,31 @@ function RangeTable({
return (
-
-
- Range
+
+ Range
+
-
+
{/* Anchor */}
-
-
+
+ Anchor
-