Edit
parent
f044d95351
commit
0dffceb0be
|
@ -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%; }
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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%;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue