@lyfie/luthor 2.6.2 → 2.6.3

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.
Files changed (34) hide show
  1. package/README.md +4 -1
  2. package/dist/{LegacyRichEditor-WKh3E8Mm.d.ts → LegacyRichEditor-nwNjxKl0.d.ts} +1 -1
  3. package/dist/{chunk-FG7KKFSZ.js → chunk-43UEZI2W.js} +1 -1
  4. package/dist/{chunk-3NM6QW7C.js → chunk-B7I6RV47.js} +1 -1
  5. package/dist/chunk-GK2BZF4S.js +13 -0
  6. package/dist/{chunk-XZATJCFW.js → chunk-KMBYB4ZH.js} +1 -1
  7. package/dist/{chunk-OYT6CNV2.js → chunk-OP2P26RL.js} +1 -1
  8. package/dist/{chunk-QO42IS2Z.js → chunk-SVXMC7MP.js} +1 -1
  9. package/dist/chunk-WWWLNSEV.js +6 -0
  10. package/dist/{chunk-RQGJYLCJ.js → chunk-Y4NMVA4M.js} +1 -1
  11. package/dist/{chunk-NYROU753.js → chunk-YIBO4533.js} +1 -1
  12. package/dist/{index-9mVYz0Ze.d.ts → index-7HXwi2Zc.d.ts} +1 -1
  13. package/dist/{index-BFix2QsP.d.ts → index-DIFqz4Pg.d.ts} +2 -0
  14. package/dist/index.d.ts +5 -5
  15. package/dist/index.js +1 -1
  16. package/dist/presets/compose/index.d.ts +1 -1
  17. package/dist/presets/compose/index.js +1 -1
  18. package/dist/presets/extensive/index.d.ts +2 -2
  19. package/dist/presets/extensive/index.js +1 -1
  20. package/dist/presets/headless-editor/index.d.ts +1 -1
  21. package/dist/presets/headless-editor/index.js +1 -1
  22. package/dist/presets/html-editor/index.d.ts +2 -2
  23. package/dist/presets/html-editor/index.js +1 -1
  24. package/dist/presets/legacy-rich/index.d.ts +2 -2
  25. package/dist/presets/legacy-rich/index.js +1 -1
  26. package/dist/presets/md-editor/index.d.ts +2 -2
  27. package/dist/presets/md-editor/index.js +1 -1
  28. package/dist/presets/simple-editor/index.d.ts +1 -1
  29. package/dist/presets/simple-editor/index.js +1 -1
  30. package/dist/presets/slash-editor/index.d.ts +1 -1
  31. package/dist/presets/slash-editor/index.js +1 -1
  32. package/package.json +4 -4
  33. package/dist/chunk-NM2K6UES.js +0 -6
  34. package/dist/chunk-V3QBXWHM.js +0 -13
@@ -1,4 +1,4 @@
1
- import { n as EditorPreset, h as ToolbarItemType } from './index-BFix2QsP.js';
1
+ import { n as EditorPreset, h as ToolbarItemType } from './index-DIFqz4Pg.js';
2
2
  import { FontFamilyOption, FontSizeOption, LineHeightOption, CodeLanguageOptionsConfig } from '@lyfie/luthor-headless';
3
3
 
4
4
  declare const extensiveToolbar: readonly ["undo", "redo", "fontFamily", "heading", "fontSize", "lineHeight", "textColor", "textHighlight", "bold", "italic", "underline", "strikethrough", "subscript", "superscript", "link", "image", "table", "horizontalRule", "iframeEmbed", "youtubeEmbed", "blockquote", "code", "codeBlock", "bulletedList", "numberedList", "checkList", "commandPalette", "floatingToolbar", "contextMenu", "draggableBlock", "customNode", "sourceMode", "themeToggle"];
@@ -409,6 +409,8 @@ type ExtensiveEditorPlaceholder = string | {
409
409
  interface ExtensiveEditorRef {
410
410
  injectJSON: (content: string) => void;
411
411
  getJSON: () => string;
412
+ getMarkdown: () => string;
413
+ getHTML: () => string;
412
414
  }
413
415
  interface ExtensiveEditorProps {
414
416
  className?: string;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as CoreEditorCommands, b as CoreEditorActiveStates, c as CoreTheme, d as CoreEditorMode, e as CoreToolbarClassNames, f as ToolbarStyleVars, T as ToolbarLayout, g as ToolbarVisibility, B as BlockHeadingLevel, h as ToolbarItemType, D as DefaultSettings } from './index-BFix2QsP.js';
2
- export { i as BLOCK_HEADING_LEVELS, j as BlockFormat, k as CommandConfig, l as CommandGenerationOptions, m as DEFAULT_TOOLBAR_LAYOUT, n as EditorPreset, o as EditorThemeOverrides, p as ExtensiveEditor, q as ExtensiveEditorMode, E as ExtensiveEditorProps, a as ExtensiveEditorRef, r as ExtensiveExtensionsConfig, s as FeatureFlag, F as FeatureFlagOverrides, t as FeatureFlags, I as ImageAlignment, u as InsertImageConfig, v as InsertTableConfig, K as KeyboardShortcut, Q as QuoteStyleVars, S as ShortcutBindingOverride, w as ShortcutConfig, x as SlashCommandVisibility, y as SlashCommandVisibilityFilters, z as SlashCommandVisibilitySelection, A as TRADITIONAL_TOOLBAR_LAYOUT, G as TextAlignment, H as ToolbarAlignment, J as ToolbarPosition, L as ToolbarSection, M as commandsToCommandPaletteItems, N as commandsToSlashCommandItems, O as createExtensiveExtensions, P as extensiveExtensions, R as generateCommands, U as presetRegistry, V as registerKeyboardShortcuts } from './index-BFix2QsP.js';
1
+ import { C as CoreEditorCommands, b as CoreEditorActiveStates, c as CoreTheme, d as CoreEditorMode, e as CoreToolbarClassNames, f as ToolbarStyleVars, T as ToolbarLayout, g as ToolbarVisibility, B as BlockHeadingLevel, h as ToolbarItemType, D as DefaultSettings } from './index-DIFqz4Pg.js';
2
+ export { i as BLOCK_HEADING_LEVELS, j as BlockFormat, k as CommandConfig, l as CommandGenerationOptions, m as DEFAULT_TOOLBAR_LAYOUT, n as EditorPreset, o as EditorThemeOverrides, p as ExtensiveEditor, q as ExtensiveEditorMode, E as ExtensiveEditorProps, a as ExtensiveEditorRef, r as ExtensiveExtensionsConfig, s as FeatureFlag, F as FeatureFlagOverrides, t as FeatureFlags, I as ImageAlignment, u as InsertImageConfig, v as InsertTableConfig, K as KeyboardShortcut, Q as QuoteStyleVars, S as ShortcutBindingOverride, w as ShortcutConfig, x as SlashCommandVisibility, y as SlashCommandVisibilityFilters, z as SlashCommandVisibilitySelection, A as TRADITIONAL_TOOLBAR_LAYOUT, G as TextAlignment, H as ToolbarAlignment, J as ToolbarPosition, L as ToolbarSection, M as commandsToCommandPaletteItems, N as commandsToSlashCommandItems, O as createExtensiveExtensions, P as extensiveExtensions, R as generateCommands, U as presetRegistry, V as registerKeyboardShortcuts } from './index-DIFqz4Pg.js';
3
3
  import { CommandPaletteItem, EmojiCatalogItem, SlashCommandItem, FloatingToolbarExtension, LexicalEditor, EditorConfig } from '@lyfie/luthor-headless';
4
4
  import * as luthorHeadless from '@lyfie/luthor-headless';
5
5
  export { luthorHeadless as headless };
@@ -8,11 +8,11 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
8
8
  import * as react from 'react';
9
9
  import { ForwardRefExoticComponent, SVGProps, RefAttributes, ReactNode } from 'react';
10
10
  export { ComposeEditor, ComposeEditorProps, composePreset } from './presets/compose/index.js';
11
- import { S as StyleVarRecord, a as StyleVarValueRecord, F as FeatureFlagsLike, b as FeatureShortcutSpec, T as ToolbarFeatureMap, P as PresetModeCache } from './index-9mVYz0Ze.js';
12
- export { E as ExtensivePresetConfig, c as createExtensivePreset, e as extensivePreset } from './index-9mVYz0Ze.js';
11
+ import { S as StyleVarRecord, a as StyleVarValueRecord, F as FeatureFlagsLike, b as FeatureShortcutSpec, T as ToolbarFeatureMap, P as PresetModeCache } from './index-7HXwi2Zc.js';
12
+ export { E as ExtensivePresetConfig, c as createExtensivePreset, e as extensivePreset } from './index-7HXwi2Zc.js';
13
13
  export { HTMLEditor, HTMLEditorMode, HTMLEditorProps, htmlEditorPreset } from './presets/html-editor/index.js';
14
14
  export { HeadlessEditorPreset, HeadlessEditorPresetProps, headlessEditorPreset } from './presets/headless-editor/index.js';
15
- export { L as LegacyRichEditor, a as LegacyRichEditorMode, b as LegacyRichEditorProps, c as LegacyRichSourceFormat } from './LegacyRichEditor-WKh3E8Mm.js';
15
+ export { L as LegacyRichEditor, a as LegacyRichEditorMode, b as LegacyRichEditorProps, c as LegacyRichSourceFormat } from './LegacyRichEditor-nwNjxKl0.js';
16
16
  export { MDEditor, MDEditorMode, MDEditorProps, mdEditorPreset } from './presets/md-editor/index.js';
17
17
  export { SimpleEditor, SimpleEditorOutputFormat, SimpleEditorProps, SimpleEditorSendPayload, SimpleFormattingOptions, SimpleToolbarButton, simpleEditorPreset } from './presets/simple-editor/index.js';
18
18
  export { SlashEditor, SlashEditorProps, slashEditorPreset } from './presets/slash-editor/index.js';
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import {b as b$1}from'./chunk-3NM6QW7C.js';export{a as SlashEditor,b as slashEditorPreset}from'./chunk-3NM6QW7C.js';import {b as b$5}from'./chunk-NYROU753.js';export{a as ComposeEditor,b as composePreset}from'./chunk-NYROU753.js';import {b}from'./chunk-V3QBXWHM.js';export{a as HeadlessEditorPreset,b as headlessEditorPreset}from'./chunk-V3QBXWHM.js';import {b as b$2}from'./chunk-QO42IS2Z.js';export{a as HTMLEditor,b as htmlEditorPreset}from'./chunk-QO42IS2Z.js';import {b as b$3}from'./chunk-RQGJYLCJ.js';export{a as MDEditor,b as mdEditorPreset}from'./chunk-RQGJYLCJ.js';import {g}from'./chunk-OYT6CNV2.js';export{f as LegacyRichEditor,g as legacyRichPreset}from'./chunk-OYT6CNV2.js';export{a as PresetFeaturePolicy,b as joinClassNames}from'./chunk-XZATJCFW.js';import {b as b$4}from'./chunk-FG7KKFSZ.js';export{a as SimpleEditor,b as simpleEditorPreset}from'./chunk-FG7KKFSZ.js';import {Ga}from'./chunk-NM2K6UES.js';export{x as AlignCenterIcon,y as AlignJustifyIcon,w as AlignLeftIcon,z as AlignRightIcon,b as BLOCK_HEADING_LEVELS,i as BoldIcon,Z as Button,T as ChevronDownIcon,U as CloseIcon,n as CodeBlockIcon,m as CodeIcon,H as CommandIcon,V as CommandPalette,c as DEFAULT_TOOLBAR_LAYOUT,aa as Dialog,$ as Dropdown,Q as EmojiIcon,W as EmojiSuggestionMenu,Ea as ExtensiveEditor,E as EyeIcon,D as FileCodeIcon,ba as FloatingToolbar,F as HighlighterIcon,Y as IconButton,v as ImageIcon,L as IndentIcon,j as ItalicIcon,ea as LinkHoverBubble,o as LinkIcon,r as ListCheckIcon,q as ListIcon,s as ListOrderedIcon,B as MinusIcon,fa as ModeTabs,O as MoonIcon,M as OutdentIcon,I as PaletteIcon,G as PencilIcon,K as QuoteIcon,u as RedoIcon,P as SearchIcon,_ as Select,X as SlashCommandMenu,ga as SourceView,l as StrikethroughIcon,R as SubscriptIcon,N as SunIcon,S as SuperscriptIcon,d as TRADITIONAL_TOOLBAR_LAYOUT,C as TableIcon,oa as Toolbar,J as TypeIcon,k as UnderlineIcon,t as UndoIcon,p as UnlinkIcon,A as UploadIcon,f as commandsToCommandPaletteItems,g as commandsToSlashCommandItems,va as createDefaultSettingsStyleVarRecord,sa as createExtensiveExtensions,Ha as createExtensivePreset,za as createFeatureGuardedCommands,da as createFloatingToolbarExtension,Aa as createModeCache,ha as createPresetEditorConfig,ta as extensiveExtensions,Ga as extensivePreset,na as filterToolbarLayout,ka as formatHTMLSource,ia as formatJSONSource,ja as formatMarkdownSource,e as generateCommands,Ba as invalidateModeCache,wa as isEditableCommandTarget,Ca as isModeCached,xa as isShortcutMatch,la as isToolbarItemSupported,ma as isToolbarItemVisible,Da as markModeCached,ya as mergeToolbarVisibilityWithFeatures,ua as normalizeStyleVarsKey,h as registerKeyboardShortcuts,ca as setFloatingToolbarContext}from'./chunk-NM2K6UES.js';import*as luthorHeadless from'@lyfie/luthor-headless';export{luthorHeadless as headless };export{CodeIntelligenceExtension,codeIntelligenceExtension}from'@lyfie/luthor-headless';var st={extensive:Ga,compose:b$5,"simple-editor":b$4,"legacy-rich":g,"md-editor":b$3,"html-editor":b$2,"slash-editor":b$1,"headless-editor":b};export{st as presetRegistry};
1
+ import {b as b$1}from'./chunk-B7I6RV47.js';export{a as SlashEditor,b as slashEditorPreset}from'./chunk-B7I6RV47.js';import {b as b$5}from'./chunk-YIBO4533.js';export{a as ComposeEditor,b as composePreset}from'./chunk-YIBO4533.js';import {b}from'./chunk-GK2BZF4S.js';export{a as HeadlessEditorPreset,b as headlessEditorPreset}from'./chunk-GK2BZF4S.js';import {b as b$2}from'./chunk-SVXMC7MP.js';export{a as HTMLEditor,b as htmlEditorPreset}from'./chunk-SVXMC7MP.js';import {b as b$3}from'./chunk-Y4NMVA4M.js';export{a as MDEditor,b as mdEditorPreset}from'./chunk-Y4NMVA4M.js';import {g}from'./chunk-OP2P26RL.js';export{f as LegacyRichEditor,g as legacyRichPreset}from'./chunk-OP2P26RL.js';export{a as PresetFeaturePolicy,b as joinClassNames}from'./chunk-KMBYB4ZH.js';import {b as b$4}from'./chunk-43UEZI2W.js';export{a as SimpleEditor,b as simpleEditorPreset}from'./chunk-43UEZI2W.js';import {Ga}from'./chunk-WWWLNSEV.js';export{x as AlignCenterIcon,y as AlignJustifyIcon,w as AlignLeftIcon,z as AlignRightIcon,b as BLOCK_HEADING_LEVELS,i as BoldIcon,Z as Button,T as ChevronDownIcon,U as CloseIcon,n as CodeBlockIcon,m as CodeIcon,H as CommandIcon,V as CommandPalette,c as DEFAULT_TOOLBAR_LAYOUT,aa as Dialog,$ as Dropdown,Q as EmojiIcon,W as EmojiSuggestionMenu,Ea as ExtensiveEditor,E as EyeIcon,D as FileCodeIcon,ba as FloatingToolbar,F as HighlighterIcon,Y as IconButton,v as ImageIcon,L as IndentIcon,j as ItalicIcon,ea as LinkHoverBubble,o as LinkIcon,r as ListCheckIcon,q as ListIcon,s as ListOrderedIcon,B as MinusIcon,fa as ModeTabs,O as MoonIcon,M as OutdentIcon,I as PaletteIcon,G as PencilIcon,K as QuoteIcon,u as RedoIcon,P as SearchIcon,_ as Select,X as SlashCommandMenu,ga as SourceView,l as StrikethroughIcon,R as SubscriptIcon,N as SunIcon,S as SuperscriptIcon,d as TRADITIONAL_TOOLBAR_LAYOUT,C as TableIcon,oa as Toolbar,J as TypeIcon,k as UnderlineIcon,t as UndoIcon,p as UnlinkIcon,A as UploadIcon,f as commandsToCommandPaletteItems,g as commandsToSlashCommandItems,va as createDefaultSettingsStyleVarRecord,sa as createExtensiveExtensions,Ha as createExtensivePreset,za as createFeatureGuardedCommands,da as createFloatingToolbarExtension,Aa as createModeCache,ha as createPresetEditorConfig,ta as extensiveExtensions,Ga as extensivePreset,na as filterToolbarLayout,ka as formatHTMLSource,ia as formatJSONSource,ja as formatMarkdownSource,e as generateCommands,Ba as invalidateModeCache,wa as isEditableCommandTarget,Ca as isModeCached,xa as isShortcutMatch,la as isToolbarItemSupported,ma as isToolbarItemVisible,Da as markModeCached,ya as mergeToolbarVisibilityWithFeatures,ua as normalizeStyleVarsKey,h as registerKeyboardShortcuts,ca as setFloatingToolbarContext}from'./chunk-WWWLNSEV.js';import*as luthorHeadless from'@lyfie/luthor-headless';export{luthorHeadless as headless };export{CodeIntelligenceExtension,codeIntelligenceExtension}from'@lyfie/luthor-headless';var st={extensive:Ga,compose:b$5,"simple-editor":b$4,"legacy-rich":g,"md-editor":b$3,"html-editor":b$2,"slash-editor":b$1,"headless-editor":b};export{st as presetRegistry};
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { E as ExtensiveEditorProps, F as FeatureFlagOverrides, a as ExtensiveEditorRef, n as EditorPreset } from '../../index-BFix2QsP.js';
2
+ import { E as ExtensiveEditorProps, F as FeatureFlagOverrides, a as ExtensiveEditorRef, n as EditorPreset } from '../../index-DIFqz4Pg.js';
3
3
  import '@lyfie/luthor-headless';
4
4
 
5
5
  type ComposeEditorProps = Omit<ExtensiveEditorProps, "featureFlags"> & {
@@ -1 +1 @@
1
- export{a as ComposeEditor,b as composePreset}from'../../chunk-NYROU753.js';import'../../chunk-XZATJCFW.js';import'../../chunk-NM2K6UES.js';
1
+ export{a as ComposeEditor,b as composePreset}from'../../chunk-YIBO4533.js';import'../../chunk-KMBYB4ZH.js';import'../../chunk-WWWLNSEV.js';
@@ -1,4 +1,4 @@
1
- export { E as ExtensivePresetConfig, b as FeatureShortcutSpec, T as ToolbarFeatureMap, c as createExtensivePreset, e as extensivePreset, d as extensiveToolbar } from '../../index-9mVYz0Ze.js';
2
- export { W as DEFAULT_FEATURE_FLAGS, p as ExtensiveEditor, q as ExtensiveEditorMode, E as ExtensiveEditorProps, a as ExtensiveEditorRef, r as ExtensiveExtensionsConfig, s as FeatureFlag, F as FeatureFlagOverrides, t as FeatureFlags, O as createExtensiveExtensions, P as extensiveExtensions, X as isFeatureEnabled, Y as resolveFeatureFlags } from '../../index-BFix2QsP.js';
1
+ export { E as ExtensivePresetConfig, b as FeatureShortcutSpec, T as ToolbarFeatureMap, c as createExtensivePreset, e as extensivePreset, d as extensiveToolbar } from '../../index-7HXwi2Zc.js';
2
+ export { W as DEFAULT_FEATURE_FLAGS, p as ExtensiveEditor, q as ExtensiveEditorMode, E as ExtensiveEditorProps, a as ExtensiveEditorRef, r as ExtensiveExtensionsConfig, s as FeatureFlag, F as FeatureFlagOverrides, t as FeatureFlags, O as createExtensiveExtensions, P as extensiveExtensions, X as isFeatureEnabled, Y as resolveFeatureFlags } from '../../index-DIFqz4Pg.js';
3
3
  import '@lyfie/luthor-headless';
4
4
  import 'react';
@@ -1 +1 @@
1
- export{pa as DEFAULT_FEATURE_FLAGS,Ea as ExtensiveEditor,sa as createExtensiveExtensions,Ha as createExtensivePreset,ta as extensiveExtensions,Ga as extensivePreset,Fa as extensiveToolbar,ra as isFeatureEnabled,qa as resolveFeatureFlags}from'../../chunk-NM2K6UES.js';
1
+ export{pa as DEFAULT_FEATURE_FLAGS,Ea as ExtensiveEditor,sa as createExtensiveExtensions,Ha as createExtensivePreset,ta as extensiveExtensions,Ga as extensivePreset,Fa as extensiveToolbar,ra as isFeatureEnabled,qa as resolveFeatureFlags}from'../../chunk-WWWLNSEV.js';
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { E as ExtensiveEditorProps, F as FeatureFlagOverrides, a as ExtensiveEditorRef, n as EditorPreset } from '../../index-BFix2QsP.js';
2
+ import { E as ExtensiveEditorProps, F as FeatureFlagOverrides, a as ExtensiveEditorRef, n as EditorPreset } from '../../index-DIFqz4Pg.js';
3
3
  import '@lyfie/luthor-headless';
4
4
 
5
5
  declare const HEADLESS_EDITOR_DEFAULT_MODES: readonly ["visual", "json", "markdown", "html"];
@@ -1 +1 @@
1
- export{a as HeadlessEditorPreset,b as headlessEditorPreset}from'../../chunk-V3QBXWHM.js';import'../../chunk-XZATJCFW.js';import'../../chunk-NM2K6UES.js';
1
+ export{a as HeadlessEditorPreset,b as headlessEditorPreset}from'../../chunk-GK2BZF4S.js';import'../../chunk-KMBYB4ZH.js';import'../../chunk-WWWLNSEV.js';
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
- import { a as ExtensiveEditorRef, n as EditorPreset } from '../../index-BFix2QsP.js';
3
- import { b as LegacyRichEditorProps, a as LegacyRichEditorMode } from '../../LegacyRichEditor-WKh3E8Mm.js';
2
+ import { a as ExtensiveEditorRef, n as EditorPreset } from '../../index-DIFqz4Pg.js';
3
+ import { b as LegacyRichEditorProps, a as LegacyRichEditorMode } from '../../LegacyRichEditor-nwNjxKl0.js';
4
4
  import '@lyfie/luthor-headless';
5
5
 
6
6
  type HTMLEditorMode = Exclude<LegacyRichEditorMode, "markdown">;
@@ -1 +1 @@
1
- export{a as HTMLEditor,b as htmlEditorPreset}from'../../chunk-QO42IS2Z.js';import'../../chunk-OYT6CNV2.js';import'../../chunk-XZATJCFW.js';import'../../chunk-NM2K6UES.js';
1
+ export{a as HTMLEditor,b as htmlEditorPreset}from'../../chunk-SVXMC7MP.js';import'../../chunk-OP2P26RL.js';import'../../chunk-KMBYB4ZH.js';import'../../chunk-WWWLNSEV.js';
@@ -1,5 +1,5 @@
1
- export { d as LEGACY_RICH_DEFAULT_FEATURE_FLAGS, e as LEGACY_RICH_DUAL_SOURCE_MODES, f as LEGACY_RICH_HTML_MODES, g as LEGACY_RICH_MARKDOWN_MODES, h as LEGACY_RICH_TOOLBAR_LAYOUT, L as LegacyRichEditor, a as LegacyRichEditorMode, b as LegacyRichEditorProps, c as LegacyRichSourceFormat } from '../../LegacyRichEditor-WKh3E8Mm.js';
2
- import { n as EditorPreset } from '../../index-BFix2QsP.js';
1
+ export { d as LEGACY_RICH_DEFAULT_FEATURE_FLAGS, e as LEGACY_RICH_DUAL_SOURCE_MODES, f as LEGACY_RICH_HTML_MODES, g as LEGACY_RICH_MARKDOWN_MODES, h as LEGACY_RICH_TOOLBAR_LAYOUT, L as LegacyRichEditor, a as LegacyRichEditorMode, b as LegacyRichEditorProps, c as LegacyRichSourceFormat } from '../../LegacyRichEditor-nwNjxKl0.js';
2
+ import { n as EditorPreset } from '../../index-DIFqz4Pg.js';
3
3
  import 'react';
4
4
  import '@lyfie/luthor-headless';
5
5
 
@@ -1 +1 @@
1
- export{d as LEGACY_RICH_DEFAULT_FEATURE_FLAGS,c as LEGACY_RICH_DUAL_SOURCE_MODES,b as LEGACY_RICH_HTML_MODES,a as LEGACY_RICH_MARKDOWN_MODES,e as LEGACY_RICH_TOOLBAR_LAYOUT,f as LegacyRichEditor,g as legacyRichPreset}from'../../chunk-OYT6CNV2.js';import'../../chunk-XZATJCFW.js';import'../../chunk-NM2K6UES.js';
1
+ export{d as LEGACY_RICH_DEFAULT_FEATURE_FLAGS,c as LEGACY_RICH_DUAL_SOURCE_MODES,b as LEGACY_RICH_HTML_MODES,a as LEGACY_RICH_MARKDOWN_MODES,e as LEGACY_RICH_TOOLBAR_LAYOUT,f as LegacyRichEditor,g as legacyRichPreset}from'../../chunk-OP2P26RL.js';import'../../chunk-KMBYB4ZH.js';import'../../chunk-WWWLNSEV.js';
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
- import { a as ExtensiveEditorRef, n as EditorPreset } from '../../index-BFix2QsP.js';
3
- import { b as LegacyRichEditorProps, a as LegacyRichEditorMode } from '../../LegacyRichEditor-WKh3E8Mm.js';
2
+ import { a as ExtensiveEditorRef, n as EditorPreset } from '../../index-DIFqz4Pg.js';
3
+ import { b as LegacyRichEditorProps, a as LegacyRichEditorMode } from '../../LegacyRichEditor-nwNjxKl0.js';
4
4
  import '@lyfie/luthor-headless';
5
5
 
6
6
  type MDEditorMode = Exclude<LegacyRichEditorMode, "html">;
@@ -1 +1 @@
1
- export{a as MDEditor,b as mdEditorPreset}from'../../chunk-RQGJYLCJ.js';import'../../chunk-OYT6CNV2.js';import'../../chunk-XZATJCFW.js';import'../../chunk-NM2K6UES.js';
1
+ export{a as MDEditor,b as mdEditorPreset}from'../../chunk-Y4NMVA4M.js';import'../../chunk-OP2P26RL.js';import'../../chunk-KMBYB4ZH.js';import'../../chunk-WWWLNSEV.js';
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode, CSSProperties } from 'react';
3
3
  import { LuthorTheme } from '@lyfie/luthor-headless';
4
- import { E as ExtensiveEditorProps, n as EditorPreset } from '../../index-BFix2QsP.js';
4
+ import { E as ExtensiveEditorProps, n as EditorPreset } from '../../index-DIFqz4Pg.js';
5
5
 
6
6
  type SizeValue = number | string;
7
7
  type SimpleEditorOutputFormat = "md" | "json";
@@ -1 +1 @@
1
- export{a as SimpleEditor,b as simpleEditorPreset}from'../../chunk-FG7KKFSZ.js';import'../../chunk-NM2K6UES.js';
1
+ export{a as SimpleEditor,b as simpleEditorPreset}from'../../chunk-43UEZI2W.js';import'../../chunk-WWWLNSEV.js';
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { E as ExtensiveEditorProps, x as SlashCommandVisibility, F as FeatureFlagOverrides, n as EditorPreset } from '../../index-BFix2QsP.js';
2
+ import { E as ExtensiveEditorProps, x as SlashCommandVisibility, F as FeatureFlagOverrides, n as EditorPreset } from '../../index-DIFqz4Pg.js';
3
3
  import 'react';
4
4
  import '@lyfie/luthor-headless';
5
5
 
@@ -1 +1 @@
1
- export{a as SlashEditor,b as slashEditorPreset}from'../../chunk-3NM6QW7C.js';import'../../chunk-XZATJCFW.js';import'../../chunk-NM2K6UES.js';
1
+ export{a as SlashEditor,b as slashEditorPreset}from'../../chunk-B7I6RV47.js';import'../../chunk-KMBYB4ZH.js';import'../../chunk-WWWLNSEV.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lyfie/luthor",
3
- "version": "2.6.2",
3
+ "version": "2.6.3",
4
4
  "description": "Luthor presets and plug-and-play configuration for the headless editor",
5
5
  "type": "module",
6
6
  "private": false,
@@ -58,7 +58,7 @@
58
58
  "@lexical/table": "^0.40.0",
59
59
  "@lexical/utils": "^0.40.0",
60
60
  "lexical": "^0.40.0",
61
- "@lyfie/luthor-headless": "2.6.2"
61
+ "@lyfie/luthor-headless": "2.6.3"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@types/node": "^20.19.33",
@@ -71,8 +71,8 @@
71
71
  "tsup": "^8.0.0",
72
72
  "typescript": "^5.7.3",
73
73
  "vitest": "^3.2.4",
74
- "@repo/eslint-config": "0.0.0",
75
- "@repo/typescript-config": "0.0.0"
74
+ "@repo/typescript-config": "0.0.0",
75
+ "@repo/eslint-config": "0.0.0"
76
76
  },
77
77
  "peerDependencies": {
78
78
  "react": "^18.0.0 || ^19.0.0",