attachment feature #10

This commit is contained in:
life
2014-09-21 22:05:04 +08:00
parent ab242b10f2
commit c556ab59b5
26 changed files with 1197 additions and 135 deletions

View File

@ -288,7 +288,12 @@ function editorIframeTabindex(index) {
}
}
//切换编辑器
LEA.isM = false;
LEA.isMarkdownEditor = function() {
return LEA.isM;
}
function switchEditor(isMarkdown) {
LEA.isM = isMarkdown;
// 富文本永远是2
if(!isMarkdown) {
$("#editor").show();