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);
         };