mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
added ability to work with codemirror v3
This commit is contained in:
parent
09c6608a8a
commit
b8eb4122fa
1 changed files with 9 additions and 3 deletions
|
|
@ -47,15 +47,21 @@ var CloudCommander, CloudFunc, CodeMirror;
|
|||
]);
|
||||
|
||||
|
||||
Util.cssSet({id:'editor',
|
||||
Util.cssSet({id:'editor',
|
||||
inner : '.CodeMirror{' +
|
||||
'font-family :\'Droid Sans Mono\';' +
|
||||
'font-size :15px;' +
|
||||
'padding :20px 0 0 0;' +
|
||||
'padding :20px 0 0 0;' +
|
||||
/* codemirror v3 */
|
||||
//'height : ' + cloudcmd.HEIGHT + 'px' +
|
||||
'}' +
|
||||
'.CodeMirror-scroll{' +
|
||||
'height : ' + (cloudcmd.HEIGHT-40) + 'px' +
|
||||
'}'
|
||||
'}' //+
|
||||
/* codemirror v3 */
|
||||
//'#CodeMirrorEditor{' +
|
||||
// 'padding :20px 20px 20px 20px;' +
|
||||
// '}'
|
||||
});
|
||||
|
||||
Util.jsload(CodeMirrorEditor.dir +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue