Skip to content

Commit

Permalink
🔇 #13346
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Dec 4, 2024
1 parent c36d397 commit 61d69cc
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion app/src/protyle/util/Options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export class Options {
classes: {
preview: "",
},
debugger: Constants.NODE_ENV === "development",
hint: {
delay: 200,
emoji: {
Expand Down
6 changes: 0 additions & 6 deletions app/src/protyle/util/log.ts

This file was deleted.

3 changes: 0 additions & 3 deletions app/src/protyle/wysiwyg/input.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import {log} from "../util/log";
import {focusBlock, focusByWbr} from "../util/selection";
import {Constants} from "../../constants";
import * as dayjs from "dayjs";
Expand Down Expand Up @@ -174,8 +173,6 @@ export const input = async (protyle: IProtyle, blockElement: HTMLElement, range:
) &&
!(tempElement.content.childElementCount === 1 && tempElement.content.firstElementChild.classList.contains("code-block") && type === "NodeCodeBlock")
) {
log("SpinBlockDOM", blockElement.outerHTML, "argument", protyle.options.debugger);
log("SpinBlockDOM", html, "result", protyle.options.debugger);
if (blockElement.getAttribute("data-type") === "NodeHeading" && blockElement.getAttribute("fold") === "1" &&
tempElement.content.firstElementChild.getAttribute("data-subtype") !== blockElement.dataset.subtype) {
setFold(protyle, blockElement, undefined, undefined, false);
Expand Down
2 changes: 0 additions & 2 deletions app/src/types/protyle.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -458,8 +458,6 @@ interface IProtyleOptions {
}
/** 内部调试时使用 */
_lutePath?: string;
/** 是否显示日志。默认值: false */
debugger?: boolean;
/** 是否启用打字机模式。默认值: false */
typewriterMode?: boolean;
/** 多语言。默认值: 'zh_CN' */
Expand Down

0 comments on commit 61d69cc

Please sign in to comment.