Fabian Iwand 7 年之前
父节点
当前提交
187874ceac
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Playground/js/index.js

+ 1 - 1
Playground/js/index.js

@@ -640,7 +640,7 @@
         // Fonts
         setFontSize = function (size) {
             fontSize = size;
-            document.querySelector(".view-lines").style.fontSize = size + "px";
+            jsEditor.updateOptions({fontSize: size});
             setToMultipleID("currentFontSize", "innerHTML", "Font: " + size);
         };