$("#toolbar .increase").click(function(){
        editor.setFontSize(Math.min(editor.getFontSize() + 1, 20));
    });