Lexical is an extensible text editor framework that provides excellent reliability, accessibility and performance.
This report summarizes scanner evidence for facebook/lexical, a TypeScript project with 23,991 GitHub stars. SynthScan examined 621,776 lines of code across 2257 source files, recording 540 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 0.9 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 518 finding(s).
Are imports declared and package/API names verified? 22 finding(s).
Are wrappers, guards, and repeated structures necessary? 236 finding(s).
Which changes need focused human review? 540 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 540 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …es/mdast-editor/src/extensions/MdastEditorExtension.ts | 121 | // The grammar is granular: CommonMark and GFM are separate bundles, | COMMENT |
| LOW | …mdast-editor/src/extensions/HtmlTextFormatExtension.ts | 21 | import { | COMMENT |
| LOW | examples/vanilla-js/pnpm-workspace.yaml | 1 | # This example is a standalone project rather than a member of the Lexical | COMMENT |
| LOW | examples/node-replacement/pnpm-workspace.yaml | 1 | # This example is a standalone project rather than a member of the Lexical | COMMENT |
| LOW | examples/website-notion/pnpm-workspace.yaml | 1 | # This example is a standalone project rather than a member of the Lexical | COMMENT |
| LOW | examples/shadow-dom-web-component/pnpm-workspace.yaml | 1 | # This example is a standalone project rather than a member of the Lexical | COMMENT |
| LOW | …s/shadow-dom-web-component/src/LexicalEditorElement.ts | 501 | // shadow root and clear its children so the flow below rebuilds them | COMMENT |
| LOW | examples/node-state-style/pnpm-workspace.yaml | 1 | # This example is a standalone project rather than a member of the Lexical | COMMENT |
| LOW | examples/react-rich-collab/pnpm-workspace.yaml | 1 | # This example is a standalone project rather than a member of the Lexical | COMMENT |
| LOW | examples/node-state-review/pnpm-workspace.yaml | 1 | # This example is a standalone project rather than a member of the Lexical | COMMENT |
| LOW | examples/markdown-editor/pnpm-workspace.yaml | 1 | # This example is a standalone project rather than a member of the Lexical | COMMENT |
| LOW | …arkdown-editor/src/extensions/ToolbarStateExtension.ts | 101 | // The HistoryState object the signal holds is mutated in | COMMENT |
| LOW | examples/react-table/pnpm-workspace.yaml | 1 | # This example is a standalone project rather than a member of the Lexical | COMMENT |
| LOW | examples/react-mathtype/pnpm-workspace.yaml | 1 | # This example is a standalone project rather than a member of the Lexical | COMMENT |
| LOW | examples/react-plain-text/pnpm-workspace.yaml | 1 | # This example is a standalone project rather than a member of the Lexical | COMMENT |
| LOW | examples/website-chat/pnpm-workspace.yaml | 1 | # This example is a standalone project rather than a member of the Lexical | COMMENT |
| LOW | …xtension-vanilla-react-plugin-host/pnpm-workspace.yaml | 1 | # This example is a standalone project rather than a member of the Lexical | COMMENT |
| LOW | …tension-sveltekit-ssr-hydration/vitest-setup-client.ts | 1 | /// <reference types="@vitest/browser/matchers" /> | COMMENT |
| LOW | …/extension-sveltekit-ssr-hydration/pnpm-workspace.yaml | 1 | # This example is a standalone project rather than a member of the Lexical | COMMENT |
| LOW | examples/vanilla-js-plugin/pnpm-workspace.yaml | 1 | # This example is a standalone project rather than a member of the Lexical | COMMENT |
| LOW | examples/react-rich/pnpm-workspace.yaml | 1 | # This example is a standalone project rather than a member of the Lexical | COMMENT |
| LOW | examples/nextjs-code-shiki/pnpm-workspace.yaml | 1 | # This example is a standalone project rather than a member of the Lexical | COMMENT |
| LOW | examples/extension-react-table/pnpm-workspace.yaml | 1 | # This example is a standalone project rather than a member of the Lexical | COMMENT |
| LOW | examples/website-toolbar/pnpm-workspace.yaml | 1 | # This example is a standalone project rather than a member of the Lexical | COMMENT |
| LOW | examples/website-rich-input/pnpm-workspace.yaml | 1 | # This example is a standalone project rather than a member of the Lexical | COMMENT |
| LOW | examples/vanilla-js-iframe/pnpm-workspace.yaml | 1 | # This example is a standalone project rather than a member of the Lexical | COMMENT |
| LOW | examples/shadow-dom/pnpm-workspace.yaml | 1 | # This example is a standalone project rather than a member of the Lexical | COMMENT |
| LOW | examples/extension-vanilla-tailwind/pnpm-workspace.yaml | 1 | # This example is a standalone project rather than a member of the Lexical | COMMENT |
| LOW | scripts/__tests__/unit/treeShakingSource.test.ts | 121 | COMMENT | |
| LOW | scripts/__tests__/unit/flowCompactSignatures.test.ts | 101 | // `trailingComma: "all"`: the moment a declaration is wrapped across | COMMENT |
| LOW | packages/lexical-mdast/src/MdastHtmlExtension.ts | 101 | // CommonMark parses raw HTML blocks by blank lines, not by tag structure, so | COMMENT |
| LOW | packages/lexical-mdast/src/MdastHtmlExtension.ts | 561 | // line); the block wrapping, if any, belongs to the surrounding HTML | COMMENT |
| LOW | packages/lexical-devtools/wxt.config.ts | 61 | ], | COMMENT |
| LOW | packages/lexical-tailwind/src/index.ts | 41 | // attr: 'PlaygroundEditorTheme__tokenAttr', | COMMENT |
| LOW | packages/lexical-tailwind/src/index.ts | 61 | // property: 'PlaygroundEditorTheme__tokenProperty', | COMMENT |
| LOW | packages/lexical-tailwind/src/index.ts | 141 | // }, | COMMENT |
| LOW | packages/lexical-code-core/src/CodeNode.ts | 201 | } | COMMENT |
| LOW | …de-core/src/__tests__/unit/CodeImportExtension.test.ts | 201 | }); | COMMENT |
| LOW | …kages/lexical-react/src/shared/useYjsCollaboration.tsx | 661 | // The Yjs write happens in the update listener during the commit, which is | COMMENT |
| LOW | …t/src/__tests__/unit/LexicalExtensionComposer.test.tsx | 61 | ); | COMMENT |
| LOW | packages/lexical/src/LexicalMutations.ts | 201 | // Not when it has moved on: scaffolding is put back below. | COMMENT |
| LOW | packages/lexical/src/LexicalMutations.ts | 281 | // to restore their contents back to the source of truth, which | COMMENT |
| LOW | packages/lexical/src/LexicalSchema.ts | 1221 | // straight to $getState for a node that has none of its own. Freezing it | COMMENT |
| LOW | packages/lexical/src/LexicalSchema.ts | 1601 | function $fitOf(schema: AnySerializationSchema, value: unknown): number { | COMMENT |
| LOW | packages/lexical/src/LexicalSchema.ts | 1621 | // `{width: undefined}` field went from a whole fit to none and took its | COMMENT |
| LOW | packages/lexical/src/LexicalSchema.ts | 2101 | // membership from a parse, and a caller that only wanted the answer — an | COMMENT |
| LOW | packages/lexical/src/LexicalSchema.ts | 2381 | members: M, | COMMENT |
| LOW | packages/lexical/src/LexicalSchema.ts | 2441 | return fallback; | COMMENT |
| LOW | packages/lexical/src/LexicalSchema.ts | 2461 | // | COMMENT |
| LOW | packages/lexical/src/LexicalSchema.ts | 2761 | const schema = makeSchema<Out, never, In>( | COMMENT |
| LOW | packages/lexical/src/LexicalSchema.ts | 2781 | ); | COMMENT |
| LOW | packages/lexical/src/LexicalSchema.ts | 2821 | > { | COMMENT |
| LOW | packages/lexical/src/LexicalSchema.ts | 2901 | // | COMMENT |
| LOW | packages/lexical/src/LexicalSchema.ts | 3201 | // the field comparators away from inputs. | COMMENT |
| LOW | packages/lexical/src/LexicalGeneratedJSON.ts | 41 | // Method syntax, so TypeScript checks the parameter bivariantly and a | COMMENT |
| LOW | packages/lexical/src/LexicalNodeState.ts | 481 | // caller declared its own. Without this a reference-typed schema | COMMENT |
| LOW | packages/lexical/src/LexicalReconciler.ts | 121 | // its size via `getTextContentSize()` (its shared keyed-DOM cache may already | COMMENT |
| LOW | packages/lexical/src/LexicalReconciler.ts | 481 | // lexical-react's `useLexicalSlotRef`), which reveals it — mirroring how | COMMENT |
| LOW | packages/lexical/src/LexicalReconciler.ts | 581 | // Resolving by the slotted key (rather than scanning the host's direct children | COMMENT |
| LOW | packages/lexical/src/LexicalReconciler.ts | 681 | } | COMMENT |
| 185 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | libdefs/yjs.js | 725 | declare export function createRelativePositionFromTypeIndex( | CODE |
| LOW⚡ | libdefs/yjs.js | 731 | declare export function createRelativePositionFromJSON( | CODE |
| LOW⚡ | libdefs/yjs.js | 735 | declare export function createAbsolutePositionFromRelativePosition( | CODE |
| LOW | …/mdast-editor/src/extensions/MdastFootnoteExtension.ts | 927 | function collectFootnoteReferenceIds( | CODE |
| LOW | …s/shadow-dom-web-component/src/LexicalEditorElement.ts | 769 | export function defineLexicalEditorElement(tagName = 'lexical-editor'): void { | CODE |
| LOW | …mples/node-state-style/src/plugins/StyleViewPlugin.tsx | 455 | function LexicalTextSelectionPaneContents({node}: {node: LexicalNode}) { | CODE |
| LOW | …mples/node-state-style/src/plugins/StyleViewPlugin.tsx | 557 | function initTextSelectionPaneReducer(action: SelectedNodeStateAction) { | CODE |
| LOW | …mples/node-state-style/src/plugins/StyleViewPlugin.tsx | 619 | function useSuggestedStylesCombobox(props: CSSPropertyComboBoxProps) { | CODE |
| LOW | examples/react-mathtype/src/MathTypeExtension.tsx | 258 | export function MathTypeIntegrationComponent(): JSX.Element { | CODE |
| LOW | examples/agent-example/src/ai/AIExtension.ts | 266 | function extractEntitiesFromWorker( | CODE |
| LOW | packages/lexical-mdast/src/MdastHtmlExtension.ts | 379 | function replaceMarkdownTextSegments( | CODE |
| LOW | packages/lexical-mdast/src/MdastHtmlExtension.ts | 720 | function createExportMarkSplitRegExp(): RegExp { | CODE |
| LOW | packages/lexical-mdast/src/MdastHtmlExtension.ts | 753 | function breakAfterLeadingCustomTag(segment: string): string { | CODE |
| LOW | packages/lexical-mdast/src/MdastHtmlExtension.ts | 764 | function breakBeforeTrailingCustomTag(segment: string): string { | CODE |
| LOW | packages/lexical-mdast/src/handlers.ts | 646 | export function phrasingFromFormattedText( | CODE |
| LOW | packages/lexical-mdast/src/MdastShortcuts.ts | 339 | export function registerMarkdownShortcuts( | CODE |
| LOW | packages/lexical-code-core/src/CodeImportExtension.ts | 154 | function splitMonospaceWrapperLines(el: HTMLElement): string[] | null { | CODE |
| LOW | …/lexical-code-core/src/LexicalCodeCoreGeneratedJSON.ts | 207 | export function afterCloneCodeHighlightNode( | CODE |
| LOW | …/lexical-code-core/src/LexicalCodeCoreGeneratedJSON.ts | 265 | function exportCompactCodeHighlightNode(node: CodeHighlightNode): { | CODE |
| LOW | packages/lexical-dragon/src/index.ts | 45 | function getOrCreateWindowState( | CODE |
| LOW | packages/lexical-hashtag/src/LexicalHashtagExtension.ts | 14 | function getHashtagRegexStringChars(): Readonly<{ | CODE |
| LOW | packages/lexical-react/src/TreeViewExtension.tsx | 29 | export function TreeViewExtensionComponent( | CODE |
| LOW | …exical-react/src/LexicalBlockWithAlignableContents.tsx | 48 | export function BlockWithAlignableContents({ | CODE |
| LOW | packages/lexical-react/src/LexicalComposerContext.ts | 60 | export function createLexicalComposerContext( | CODE |
| LOW | packages/lexical-react/src/LexicalComposerContext.ts | 91 | export function useLexicalComposerContext(): LexicalComposerContextWithEditor { | CODE |
| LOW | …s/lexical-react/src/LexicalTypeaheadMenuPluginUtils.ts | 47 | export function useBasicTypeaheadTriggerMatch( | CODE |
| LOW | packages/lexical-react/src/ReactExtension.tsx | 42 | export function DefaultEditorChildrenComponent({ | CODE |
| LOW | …kages/lexical-react/src/LexicalTypeaheadMenuPlugin.tsx | 95 | function isSelectionOnEntityBoundary( | CODE |
| LOW | …ages/lexical-react/src/useLexicalIsTextContentEmpty.ts | 23 | export function useLexicalIsTextContentEmpty( | CODE |
| LOW | …s/lexical-react/src/LexicalExtensionEditorComposer.tsx | 41 | export function LexicalExtensionEditorComposer({ | CODE |
| LOW | …kages/lexical-react/src/useLexicalRovingTabIndexRef.ts | 34 | export function useLexicalRovingTabIndexRef( | CODE |
| LOW | packages/lexical-react/src/useLexicalFocusManagerRef.ts | 31 | export function useLexicalFocusManagerRef( | CODE |
| LOW | …/lexical-react/src/shared/LexicalReactGeneratedJSON.ts | 25 | export function afterCloneDecoratorBlockNode( | CODE |
| LOW | …/lexical-react/src/shared/LexicalReactGeneratedJSON.ts | 46 | function exportCompactDecoratorBlockNode(node: DecoratorBlockNode): { | CODE |
| LOW | …ages/lexical-react/src/shared/useCanShowPlaceholder.ts | 15 | function canShowPlaceholderFromCurrentEditorState( | CODE |
| LOW | packages/lexical-react/src/shared/LexicalMenu.tsx | 176 | function isTriggerVisibleInNearestScrollContainer( | CODE |
| LOW | packages/lexical-react/src/shared/LexicalMenu.tsx | 625 | function setContainerDivAttributes( | CODE |
| LOW | packages/lexical-react/src/shared/LexicalMenu.tsx | 644 | function establishesContainingBlock(style: CSSStyleDeclaration): boolean { | CODE |
| LOW | …cal-react/src/shared/LexicalContentEditableElement.tsx | 60 | function ContentEditableElementImpl( | CODE |
| LOW | …lexical-react/src/__tests__/unit/Collaboration.test.ts | 50 | async function expectCorrectInitialContent(client1: Client, client2: Client) { | CODE |
| LOW | …eact/src/__tests__/unit/LexicalNodeMenuPlugin.test.tsx | 41 | function NodeMenuPluginWithMenuRenderFn({ | CODE |
| LOW | …eact/src/__tests__/unit/LexicalNodeMenuPlugin.test.tsx | 90 | function NodeMenuPluginWithoutMenuRenderFn({ | CODE |
| LOW | …src/__tests__/unit/LexicalTypeaheadMenuPlugin.test.tsx | 52 | function TypeaheadPluginWithMenuRenderFn({ | CODE |
| LOW | …src/__tests__/unit/LexicalTypeaheadMenuPlugin.test.tsx | 117 | function TypeaheadPluginWithoutMenuRenderFn({ | CODE |
| LOW | packages/lexical/src/LexicalDOMSlot.ts | 95 | export function isDecoratorBoundaryAnchorDOM( | CODE |
| LOW | packages/lexical/src/LexicalMutations.ts | 92 | function shouldUpdateTextNodeFromMutation( | CODE |
| LOW | packages/lexical/src/LexicalEditor.ts | 894 | function initializeConversionCache( | CODE |
| LOW | packages/lexical/src/LexicalGeneratedJSON.ts | 413 | function exportCompactParagraphNode(node: ParagraphNode): { | CODE |
| LOW | packages/lexical/src/LexicalGeneratedJSON.ts | 491 | function exportCompactLineBreakNode(node: LineBreakNode): { | CODE |
| LOW | packages/lexical/src/LexicalNodeState.ts | 1222 | function parseAndPruneNextUnknownState( | CODE |
| LOW | packages/lexical/src/LexicalReconciler.ts | 2218 | function getPrevElementByKeyOrThrow(key: NodeKey): HTMLElement { | CODE |
| LOW | packages/lexical/src/LexicalSelection.ts | 2907 | function shouldDeleteExactlyOneCodeUnit(text: string) { | CODE |
| LOW | packages/lexical/src/LexicalSelection.ts | 3428 | function getIndexOfChildContaining(parent: Node, node: Node): number { | CODE |
| LOW | packages/lexical/src/LexicalSelection.ts | 3900 | export function moveSelectionPointToSibling( | CODE |
| LOW | packages/lexical/src/LexicalSelection.ts | 3929 | export function adjustPointOffsetForMergedSibling( | CODE |
| LOW | packages/lexical/src/LexicalSelection.ts | 3943 | function setDOMSelectionBaseAndExtent( | CODE |
| LOW | packages/lexical/src/LexicalEvents.ts | 294 | function shouldSkipSelectionChange( | CODE |
| LOW⚡ | packages/lexical/src/LexicalEvents.ts | 1121 | function isPossiblyAndroidKeyPress( | CODE |
| LOW⚡ | packages/lexical/src/LexicalEvents.ts | 1131 | function clearHandledSelectionCommandInsertText(inputState: InputState): void { | CODE |
| LOW⚡ | packages/lexical/src/LexicalEvents.ts | 1139 | function markHandledSelectionCommandInsertText(inputState: InputState): void { | CODE |
| 176 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …ical/src/__tests__/unit/IosKeyboardSuggestions.test.ts | 155 | // Step 1: keydown Backspace (should not preventDefault). | COMMENT |
| LOW⚡ | …ical/src/__tests__/unit/IosKeyboardSuggestions.test.ts | 160 | // Step 2: iOS fires beforeinput deleteContentBackward with a collapsed | COMMENT |
| LOW | …c/__tests__/unit/RichTextBlockCursorShadowRoot.test.ts | 513 | // Step 1: ArrowRight → block cursor at root:1 | COMMENT |
| LOW | …c/__tests__/unit/RichTextBlockCursorShadowRoot.test.ts | 525 | // Step 2: ArrowRight → enter shadow root (selectStart → text:0) | COMMENT |
| LOW | …c/__tests__/unit/RichTextBlockCursorShadowRoot.test.ts | 542 | // Step 3: Place cursor at end of text (jsdom doesn't support | COMMENT |
| LOW | …c/__tests__/unit/RichTextBlockCursorShadowRoot.test.ts | 557 | // Step 4: ArrowRight → exit shadow root → block cursor at root:2 | COMMENT |
| LOW | packages/lexical-table/src/LexicalTableUtils.ts | 1615 | // Step 1: Unmerge all merged cells within the affected area | COMMENT |
| LOW | packages/lexical-table/src/LexicalTableUtils.ts | 1643 | // Step 2: Expand current table (if needed) | COMMENT |
| LOW | packages/lexical-table/src/LexicalTableUtils.ts | 1661 | // Step 3: Merge cells and set cell content, to match template grid | COMMENT |
| LOW⚡ | …rc/__tests__/unit/LexicalTableMobileSelection.test.tsx | 287 | // Step 1: Start a mouse drag selection (pointerdown with buttons: 1) | COMMENT |
| LOW⚡ | …rc/__tests__/unit/LexicalTableMobileSelection.test.tsx | 293 | // Step 2: Move to another cell (normal drag, buttons: 1) | COMMENT |
| LOW⚡ | …rc/__tests__/unit/LexicalTableMobileSelection.test.tsx | 299 | // Step 3: Simulate mouse re-entering window after leaving | COMMENT |
| LOW | …-playground/__tests__/unit/LayoutContainerNode.test.ts | 106 | // Step 1: Create a layout container and export to HTML | COMMENT |
| LOW⚡ | …-playground/__tests__/unit/LayoutContainerNode.test.ts | 118 | // Step 2: Clear the editor and re-import the exported HTML | COMMENT |
| LOW⚡ | …-playground/__tests__/unit/LayoutContainerNode.test.ts | 127 | // Step 3: Verify the imported node has the correct templateColumns | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …ical/src/__tests__/unit/IosKeyboardSuggestions.test.ts | 155 | // Step 1: keydown Backspace (should not preventDefault). | COMMENT |
| LOW⚡ | …ical/src/__tests__/unit/IosKeyboardSuggestions.test.ts | 160 | // Step 2: iOS fires beforeinput deleteContentBackward with a collapsed | COMMENT |
| LOW | …c/__tests__/unit/RichTextBlockCursorShadowRoot.test.ts | 513 | // Step 1: ArrowRight → block cursor at root:1 | COMMENT |
| LOW | …c/__tests__/unit/RichTextBlockCursorShadowRoot.test.ts | 525 | // Step 2: ArrowRight → enter shadow root (selectStart → text:0) | COMMENT |
| LOW | …c/__tests__/unit/RichTextBlockCursorShadowRoot.test.ts | 542 | // Step 3: Place cursor at end of text (jsdom doesn't support | COMMENT |
| LOW | …c/__tests__/unit/RichTextBlockCursorShadowRoot.test.ts | 557 | // Step 4: ArrowRight → exit shadow root → block cursor at root:2 | COMMENT |
| LOW | packages/lexical-table/src/LexicalTableUtils.ts | 1615 | // Step 1: Unmerge all merged cells within the affected area | COMMENT |
| LOW | packages/lexical-table/src/LexicalTableUtils.ts | 1643 | // Step 2: Expand current table (if needed) | COMMENT |
| LOW | packages/lexical-table/src/LexicalTableUtils.ts | 1661 | // Step 3: Merge cells and set cell content, to match template grid | COMMENT |
| LOW⚡ | …rc/__tests__/unit/LexicalTableMobileSelection.test.tsx | 287 | // Step 1: Start a mouse drag selection (pointerdown with buttons: 1) | COMMENT |
| LOW⚡ | …rc/__tests__/unit/LexicalTableMobileSelection.test.tsx | 293 | // Step 2: Move to another cell (normal drag, buttons: 1) | COMMENT |
| LOW⚡ | …rc/__tests__/unit/LexicalTableMobileSelection.test.tsx | 299 | // Step 3: Simulate mouse re-entering window after leaving | COMMENT |
| LOW | …-playground/__tests__/unit/LayoutContainerNode.test.ts | 106 | // Step 1: Create a layout container and export to HTML | COMMENT |
| LOW⚡ | …-playground/__tests__/unit/LayoutContainerNode.test.ts | 118 | // Step 2: Clear the editor and re-import the exported HTML | COMMENT |
| LOW⚡ | …-playground/__tests__/unit/LayoutContainerNode.test.ts | 127 | // Step 3: Verify the imported node has the correct templateColumns | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …cal-react/src/shared/LexicalContentEditableElement.tsx | 58 | } & Omit<React.AllHTMLAttributes<HTMLDivElement>, 'placeholder'>; | CODE |
| LOW | …ct/src/__tests__/unit/useExtensionSignalValue.test.tsx | 346 | name: 'John Doe', | CODE |
| LOW | …-react/src/__tests__/unit/PlainRichTextPlugin.test.tsx | 209 | <span className="placeholder">My placeholder</span> | CODE |
| LOW | …-react/src/__tests__/unit/PlainRichTextPlugin.test.tsx | 219 | <span className="placeholder">My placeholder</span> | CODE |
| LOW | …__tests__/unit/ManagedLineBreakObservedRemoval.test.ts | 303 | block.insertBefore(unmanagedSpan('placeholder'), block.firstChild); | CODE |
| LOW | …xical/src/__tests__/browser/Issue7158MouseDrag.test.ts | 70 | 'lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod'; | CODE |
| LOW | …xical/src/__tests__/browser/Issue7158MouseDrag.test.ts | 70 | 'lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod'; | CODE |
| LOW | …xical/src/__tests__/browser/Issue7158MouseDrag.test.ts | 2620 | 'lorem ipsum dolor sit amet consectetur adipiscing elit sed do ' + | CODE |
| LOW | …xical/src/__tests__/browser/Issue7158MouseDrag.test.ts | 2620 | 'lorem ipsum dolor sit amet consectetur adipiscing elit sed do ' + | CODE |
| LOW | …s/lexical-y/src/__tests__/unit/ShadowRootQuote.test.ts | 94 | () => $getRoot().append($p('one'), $p('Lorem ipsum'), $p('end')), | CODE |
| LOW | …s/lexical-y/src/__tests__/unit/ShadowRootQuote.test.ts | 216 | $component({body: $body($p('Lorem ipsum'))}), | CODE |
| LOW | …s/lexical-y/src/__tests__/unit/ShadowRootQuote.test.ts | 244 | expect(body).toContain('Lorem ipsum'); | CODE |
| LOW | …exical-link/src/__tests__/unit/LexicalLinkNode.test.ts | 333 | {input: 'user@example.com', output: 'mailto:user@example.com'}, | CODE |
| LOW | …exical-link/src/__tests__/unit/LexicalLinkNode.test.ts | 982 | expect(formatUrl('user@example.com')).toBe('mailto:user@example.com'); | CODE |
| LOW | …rc/__tests__/unit/no-unscoped-window-messaging.test.ts | 140 | code: `${IMPORT}\nlet ns = 'placeholder';\nns = crypto.randomUUID();\ninitPegasusTransport({namespace: ns});`, | CODE |
| LOW | …al-extension/src/__tests__/browser/SelectBlock.test.ts | 85 | $createTextNode('Lorem ipsum dolor '), | CODE |
| LOW | …s/lexical-playground/__tests__/unit/ReviewNode.test.ts | 49 | author.append($createTextNode('Jane Doe')); | CODE |
| LOW | …s/lexical-playground/__tests__/unit/ReviewNode.test.ts | 88 | expect($getSlot(review, 'author')?.getTextContent()).toBe('Jane Doe'); | CODE |
| LOW | …s/lexical-playground/__tests__/unit/ReviewNode.test.ts | 119 | expect(html).toContain('Jane Doe'); | CODE |
| LOW | …al-playground/src/__tests__/browser/Navigation.test.ts | 35 | 'Lorem Ipsum is simply dummy text of the printing and typesetting industry.', | CODE |
| LOW | …al-playground/src/__tests__/browser/Navigation.test.ts | 37 | 'It was popularised in the 1960s with the release of Letraset sheets containing lorem ipsum passages.', | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/lexical/src/LexicalUpdates.ts | 351 | // We leverage editor._dirtyLeaves to track the new dirty leaves after the transforms | COMMENT |
| MEDIUM | packages/lexical/src/LexicalUpdates.ts | 1043 | // makes the guard robust to fast/synchronous input bursts (rapid typing, key | COMMENT |
| MEDIUM | …ages/lexical/src/__tests__/unit/LexicalEditor.test.tsx | 870 | // Add transform makes everything dirty the first time (let's not leverage this here) | COMMENT |
| MEDIUM | …playground/src/plugins/AutocompleteExtension/index.tsx | 392 | // (rather than tracked via FOCUS/BLUR) so it is robust to autofocus racing | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …kages/lexical-y/src/__tests__/unit/UndoRunEnds.test.ts | 1444 | for (const structs of t.a.doc.store.clients.values()) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ges/lexical-playground/__tests__/unit/CardNode.test.ts | 583 | // scaffold wrapper that carries no `__lexicalKey_*`. The playground CSS gives | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/lexical-utils/src/index.ts | 674 | // TODO: implement this functionality | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …exical/src/__tests__/unit/LexicalSerialization.test.ts | 114 | const expectedStringifiedEditorState = `{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal"," | CODE |