@lyfie/luthor-headless 2.7.3 → 2.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -28,7 +28,7 @@
28
28
  ## Install
29
29
 
30
30
  ```bash
31
- pnpm add @lyfie/luthor-headless lexical @lexical/code @lexical/link @lexical/list @lexical/markdown @lexical/react @lexical/rich-text @lexical/selection @lexical/table @lexical/utils
31
+ pnpm add @lyfie/luthor-headless lexical @lexical/code @lexical/link @lexical/list @lexical/markdown @lexical/react @lexical/rich-text @lexical/selection @lexical/table @lexical/utils react react-dom
32
32
  ```
33
33
 
34
34
  Optional:
@@ -37,8 +37,6 @@ Optional:
37
37
  pnpm add highlight.js @emoji-mart/data
38
38
  ```
39
39
 
40
- Code-block language options are constrained to the languages available in the active runtime tokenizer.
41
-
42
40
  ## Quick Usage
43
41
 
44
42
  ```tsx
package/dist/index.d.ts CHANGED
@@ -1555,6 +1555,7 @@ type CodeIntelligenceConfig = CodeHighlightProviderConfig & {
1555
1555
  languageOptions?: readonly string[] | CodeLanguageOptionsConfig;
1556
1556
  };
1557
1557
  declare class CodeIntelligenceExtension extends BaseExtension<"codeIntelligence", CodeIntelligenceConfig, CodeIntelligenceCommands, Record<string, never>, ReactNode[]> {
1558
+ private languageOptions;
1558
1559
  constructor();
1559
1560
  register(editor: LexicalEditor): () => void;
1560
1561
  getPlugins(): ReactNode[];