UNPKG

@composable-svelte/code

Version:

Code editor, syntax highlighting, and node-based canvas components for Composable Svelte - Built with Prism.js, CodeMirror, and SvelteFlow

11 lines (10 loc) 517 B
/** * CodeEditor Module * * Interactive code editor component built with CodeMirror 6 * Following Composable Svelte architecture patterns */ export { default as CodeEditor } from './CodeEditor.svelte'; export { codeEditorReducer } from './code-editor.reducer'; export { createInitialState } from './code-editor.types'; export { createEditorView, loadLanguage, updateEditorValue, updateEditorLanguage, updateEditorTheme, updateEditorReadOnly, updateTabSize, focusEditor, blurEditor } from './codemirror-wrapper';