diff --git a/src/components/LexicalEditor/AutoLinkPlugin.jsx b/src/components/LexicalEditor/AutoLinkPlugin.jsx index 3230c3d..02f6932 100644 --- a/src/components/LexicalEditor/AutoLinkPlugin.jsx +++ b/src/components/LexicalEditor/AutoLinkPlugin.jsx @@ -1,3 +1,7 @@ +/** + * See https://codesandbox.io/p/sandbox/vigilant-kate-5tncvy?file=%2Fsrc%2Fplugins%2FAutoLinkPlugin.js +*/ + import { AutoLinkPlugin } from "@lexical/react/LexicalAutoLinkPlugin"; const URL_MATCHER = diff --git a/src/components/LexicalEditor/CodeHighlightPlugin.jsx b/src/components/LexicalEditor/CodeHighlightPlugin.jsx index f931805..9ebbedd 100644 --- a/src/components/LexicalEditor/CodeHighlightPlugin.jsx +++ b/src/components/LexicalEditor/CodeHighlightPlugin.jsx @@ -1,3 +1,7 @@ +/** + * See https://codesandbox.io/p/sandbox/vigilant-kate-5tncvy?file=%2Fsrc%2Fplugins%2FCodeHighlightPlugin.js + */ + import { registerCodeHighlighting } from "@lexical/code"; import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext"; import { useEffect } from "react"; diff --git a/src/components/LexicalEditor/ListMaxIndentLevelPlugin.jsx b/src/components/LexicalEditor/ListMaxIndentLevelPlugin.jsx index 553e4f4..d1293fc 100644 --- a/src/components/LexicalEditor/ListMaxIndentLevelPlugin.jsx +++ b/src/components/LexicalEditor/ListMaxIndentLevelPlugin.jsx @@ -1,3 +1,7 @@ +/** + * See https://codesandbox.io/p/sandbox/vigilant-kate-5tncvy?file=%2Fsrc%2Fplugins%2FListMaxIndentLevelPlugin.js + */ + import { $getListDepth, $isListItemNode, $isListNode } from "@lexical/list"; import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext"; import { diff --git a/src/components/LexicalEditor/ToolbarPlugin.jsx b/src/components/LexicalEditor/ToolbarPlugin.jsx index 852fc79..fd021ad 100644 --- a/src/components/LexicalEditor/ToolbarPlugin.jsx +++ b/src/components/LexicalEditor/ToolbarPlugin.jsx @@ -1,3 +1,7 @@ +/** + * See https://codesandbox.io/p/sandbox/vigilant-kate-5tncvy?file=%2Fsrc%2Fplugins%2FToolbarPlugin.js + */ + import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext"; import { useCallback, useEffect, useMemo, useRef, useState } from "react"; import { diff --git a/src/components/LexicalEditor/styles/index.css b/src/components/LexicalEditor/styles/index.css index 09d0c9e..170625c 100644 --- a/src/components/LexicalEditor/styles/index.css +++ b/src/components/LexicalEditor/styles/index.css @@ -1,3 +1,5 @@ +/* See https://codesandbox.io/p/sandbox/vigilant-kate-5tncvy?file=%2Fsrc%2Fstyles.css */ + .ltr { text-align: left; }