There was an error while loading. Please reload this page.
1 parent 0026a07 commit 7fffcd2Copy full SHA for 7fffcd2
1 file changed
app/src/protyle/undo/index.ts
@@ -27,7 +27,7 @@ export class Undo {
27
28
// renderLocal 仅在发起窗口本地应用操作(isUndo=true),不 POST 到 kernel
29
// (kernel 的 undo/redo 接口已执行事务并广播)。保留光标恢复/折叠/zoom/lastHTMLs 行为。
30
- public renderLocal(protyle: IProtyle, operations: IOperation[], _isRedo: boolean) {
+ public renderLocal(protyle: IProtyle, operations: IOperation[]) {
31
hideElements(["hint", "gutter"], protyle);
32
protyle.wysiwyg.lastHTMLs = {};
33
for (let i = operations.length - 1; i >= 0; i--) {
0 commit comments