master
Nick Sergeant 2012-02-26 20:14:26 -05:00
parent f044d95351
commit 0dffceb0be
4 changed files with 2 additions and 4 deletions

View File

@ -1342,7 +1342,6 @@ body.editing article.editing {
border: none;
font: normal 12px/16px Consolas, Menlo, "Courier New", monospace;
font-weight: normal !important;
height: 400px;
margin: 0;
position: relative;
width: 100%; }

View File

@ -1326,7 +1326,7 @@ jQuery(function($) {
window.site.$body.addClass('detail editing');
window.site.$main_edit.html(editPane).show();
// TODO: Grab height of window and set to #editor first.
$('div#editor', window.site.$main_edit).css('height', ($(window).height() - 187));
window.editor = ace.edit('editor');
window.editor.setTheme('ace/theme/tomorrow');
window.editor.renderer.setShowGutter(false);

View File

@ -1022,7 +1022,6 @@ body.editing {
border: none;
font: normal 12px/16px $Consolas;
font-weight: normal !important;
height: 400px;
margin: 0;
position: relative;
width: 100%;

View File

@ -71,7 +71,7 @@
window.site.$body.addClass('detail editing');
window.site.$main_edit.html(editPane).show();
// TODO: Grab height of window and set to #editor first.
$('div#editor', window.site.$main_edit).css('height', ($(window).height() - 187));
window.editor = ace.edit('editor');
window.editor.setTheme('ace/theme/tomorrow');
window.editor.renderer.setShowGutter(false);