fix: 移除 setInterval 轮询,改用纯事件驱动 selectionChange — 修复 CI 卡死问题
This commit is contained in:
Vendored
-1
@@ -291,7 +291,6 @@ declare class MarkdownEditor {
|
||||
_themeCtx: any;
|
||||
_i18nCtx: InstanceI18n;
|
||||
_floatingToolbar: HTMLElement | null;
|
||||
_selectionTimer: ReturnType<typeof setInterval> | null;
|
||||
_floatingEnabled: boolean;
|
||||
constructor(container: string | HTMLElement, options?: EditorOptions);
|
||||
_buildDOM(): void;
|
||||
|
||||
Reference in New Issue
Block a user