From 31a450179b595c95759dca5a922ad74763c7693f Mon Sep 17 00:00:00 2001 From: Stepan Bolotnikov Date: Wed, 3 Dec 2025 15:40:57 +0200 Subject: [PATCH] fix: expose utility functions in nohighlight entrypoint --- core/src/index.nohighlight.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/src/index.nohighlight.tsx b/core/src/index.nohighlight.tsx index 911c14f40..b980ab457 100644 --- a/core/src/index.nohighlight.tsx +++ b/core/src/index.nohighlight.tsx @@ -3,6 +3,7 @@ import * as commands from './commands/'; import * as MarkdownUtil from './utils/markdownUtils'; import './index.less'; +export { headingExecute } from './commands/title'; export * from './commands/'; export * from './commands/group'; export * from './utils/markdownUtils'; @@ -10,6 +11,8 @@ export * from './utils/InsertTextAtPosition'; export * from './Editor.nohighlight'; export * from './Context'; export * from './Types'; +export { default as handleKeyDown } from './components/TextArea/handleKeyDown'; +export { default as shortcuts } from './components/TextArea/shortcuts'; export { MarkdownUtil, commands };