@jager-ai/holy-editor
Version:
Rich text editor with Bible verse slash commands and PWA keyboard tracking, extracted from Holy Habit project
36 lines • 1.87 kB
TypeScript
/**
* @mvp-factory/holy-editor
*
* Rich text editor with Bible verse integration and PWA support
* Extracted from Holy Habit holy-editor-pro.js
*/
export { HolyEditor } from './HolyEditor';
import { HolyEditor } from './HolyEditor';
import type { EditorConfig } from './types/Editor';
export { BibleVerseEngine } from './core/BibleVerseEngine';
export { TextFormatter } from './core/TextFormatter';
export { PWAKeyboardTracker } from './pwa/PWAKeyboardTracker';
export { ToastManager } from './ui/ToastManager';
export { ColorPicker } from './ui/ColorPicker';
export { AutoSaveManager } from './utils/AutoSaveManager';
export type { EditorConfig, EditorSelection, FormatAction, FormatState, BibleVerse, BibleVerseData, BibleApiResponse, BibleBookMapping, VerseCache, SlashCommandMatch, PWAEnvironment, KeyboardTrackingSettings, PlatformInfo, KeyboardOffsetData, ToastOptions, ColorOption, AutoSaveData, AutoSaveOptions } from './types/Editor';
export { EditorError, BibleApiError } from './types/Editor';
export declare const VERSION = "1.0.0";
export declare const DEFAULT_CONFIG: Partial<EditorConfig>;
export declare const createEditor: (editorId: string, config?: Partial<EditorConfig>) => HolyEditor;
export declare const getVersion: () => string;
export declare const CSS_CLASSES: {
readonly editor: "holy-editor";
readonly editorFocused: "holy-editor-focused";
readonly bibleVerse: "bible-verse";
readonly bibleVerseRange: "bible-verse-range";
readonly verseText: "verse-text";
readonly verseReference: "verse-reference";
readonly inlineQuote: "inline-quote";
readonly toast: "holy-toast";
readonly toastContainer: "holy-toast-container";
readonly colorPicker: "holy-color-picker";
readonly keyboardActive: "keyboard-active";
readonly keyboardTracking: "keyboard-tracking";
};
//# sourceMappingURL=index.d.ts.map