mod: minor (переименование каталога)

This commit is contained in:
2026-01-09 20:51:35 +03:00
parent 785cdeae9c
commit b17a2e1333
4 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
// Реэкспорт всех необходимых модулей для использования в браузере (через <script type="module">)
export { EditorState } from "@codemirror/state";
export {
EditorView,
lineNumbers,
highlightActiveLineGutter,
highlightWhitespace,
highlightTrailingWhitespace,
drawSelection,
highlightSpecialChars,
keymap,
ViewPlugin,
Decoration,
MatchDecorator,
WidgetType
} from "@codemirror/view";
export {
syntaxHighlighting,
defaultHighlightStyle,
bracketMatching
} from "@codemirror/language";
export { html } from "@codemirror/lang-html";
export { defaultKeymap, history, historyKeymap } from "@codemirror/commands";
export { oneDark } from "@codemirror/theme-one-dark";
// Можно оставить и фабрику, если пригодится для быстрого старта
export function createReadOnlyEditor(parent, text) {
// ... (код фабрики можно оставить или убрать, он не мешает)
}