Fabian Iwand před 7 roky
rodič
revize
187874ceac
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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);
         };