We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a845f9 commit d60bc16Copy full SHA for d60bc16
aceeditor/src/main/java/com/susmit/aceeditor/AceEditor.java
@@ -346,7 +346,7 @@ public void setText(String text)
346
347
public void setFontSize(int fontSizeInpx)
348
{
349
- loadUrl("javascript:document.getElementById('editor').style.fontSize='" + String.valueOf(fontSizeInpx) + "px';");
+ loadUrl("javascript:document.getElementById(\'editor\').style.fontSize=\'" + String.valueOf(fontSizeInpx) + "px\';");
350
}
351
352
public void insertTextAtCursor(String text)
0 commit comments