- $('.decrease-font-size', panel).click(function() {
- var frameBody = $('body', $(texteditor.frame).contents());
- console.log(frameBody.css('font-size'));
- frameBody.css('font-size', parseInt(frameBody.css('font-size')) - 2);
- });
-
- $('.increase-font-size', panel).click(function() {
- var frameBody = $('body', $(texteditor.frame).contents());
- console.log(frameBody.css('font-size'));
- frameBody.css('font-size', parseInt(frameBody.css('font-size')) + 2);
- });
+ $('.CodeMirror-content-wrapper').css({
+ width: '100%', height: '100%' });
+