Fix setting fontSize style on editor
This commit is contained in:
parent
fa5c7f3eb3
commit
3a7769ef47
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ exports.launch = function(env) {
|
||||||
});
|
});
|
||||||
|
|
||||||
bindDropdown("fontsize", function(value) {
|
bindDropdown("fontsize", function(value) {
|
||||||
document.getElementById("editor").style["font-size"] = value;
|
document.getElementById("editor").style.fontSize = value;
|
||||||
});
|
});
|
||||||
|
|
||||||
bindDropdown("soft_wrap", function(value) {
|
bindDropdown("soft_wrap", function(value) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue