Add reference links to lexical editor files
This commit is contained in:
parent
afa8fca00c
commit
c67f7f512e
@ -1,3 +1,7 @@
|
|||||||
|
/**
|
||||||
|
* See https://codesandbox.io/p/sandbox/vigilant-kate-5tncvy?file=%2Fsrc%2Fplugins%2FAutoLinkPlugin.js
|
||||||
|
*/
|
||||||
|
|
||||||
import { AutoLinkPlugin } from "@lexical/react/LexicalAutoLinkPlugin";
|
import { AutoLinkPlugin } from "@lexical/react/LexicalAutoLinkPlugin";
|
||||||
|
|
||||||
const URL_MATCHER =
|
const URL_MATCHER =
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
/**
|
||||||
|
* See https://codesandbox.io/p/sandbox/vigilant-kate-5tncvy?file=%2Fsrc%2Fplugins%2FCodeHighlightPlugin.js
|
||||||
|
*/
|
||||||
|
|
||||||
import { registerCodeHighlighting } from "@lexical/code";
|
import { registerCodeHighlighting } from "@lexical/code";
|
||||||
import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext";
|
import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext";
|
||||||
import { useEffect } from "react";
|
import { useEffect } from "react";
|
||||||
|
@ -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 { $getListDepth, $isListItemNode, $isListNode } from "@lexical/list";
|
||||||
import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext";
|
import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext";
|
||||||
import {
|
import {
|
||||||
|
@ -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 { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext";
|
||||||
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
||||||
import {
|
import {
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
/* See https://codesandbox.io/p/sandbox/vigilant-kate-5tncvy?file=%2Fsrc%2Fstyles.css */
|
||||||
|
|
||||||
.ltr {
|
.ltr {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user