perf: 优化浮动工具栏 selectionChange 轮询间隔 200ms→500ms,修复测试缓慢问题
CI / test (20.x) (push) Canceled after 0s
CI / test (22.x) (push) Canceled after 0s
CI / test (24.x) (push) Canceled after 0s
CI / test (18.x) (push) Canceled after 29m59s

This commit is contained in:
2026-07-25 14:58:57 +08:00
parent 708f0937d8
commit 8f578599cf
2 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -2243,7 +2243,7 @@ describe('MarkdownEditor - v0.2.3 浮动工具栏', () => {
expect(handler.mock.calls[0][0]).toHaveProperty('text', 'hello');
ed.destroy();
done();
}, 400);
}, 800);
});
test('cursorMove 事件在按键后触发', () => {