liyu-pc-base 1.0.129 → 1.0.131

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10937,7 +10937,7 @@ const Rre = {
10937
10937
  // },
10938
10938
  },
10939
10939
  lineWrapping: e.lineWrapping
10940
- }), n.setOption("mode", e.mode), n.setOption("theme", "material-darker"), n.setValue(e.editorValue), n.on("change", (s) => {
10940
+ }), n.setOption("mode", e.mode), n.setOption("theme", "material-darker"), n.setValue(e.editorValue || ""), n.on("change", (s) => {
10941
10941
  if (e.mode === "htmlmixed" || e.mode === "css" || e.mode === "xml") {
10942
10942
  const { line: c, ch: d } = s.getCursor(), p = s.getLine(c), f = Bre(p, d);
10943
10943
  a = f[0], l = f[1];
@@ -11011,7 +11011,7 @@ const Rre = {
11011
11011
  ), Se(
11012
11012
  () => e.editorValue,
11013
11013
  async (i) => {
11014
- n && i !== n.getValue() && n.setValue(i);
11014
+ n && i !== n.getValue() && n.setValue(i || "");
11015
11015
  }
11016
11016
  ), {
11017
11017
  code_edit_id: r,