ckeditor 이미지 업로드시 alt 반영되도록 수정

This commit is contained in:
gnuboard
2013-03-14 10:40:25 +09:00
parent 44f9f31e3e
commit 720b3838f8

View File

@ -43,6 +43,8 @@ CKEDITOR.on('dialogDefinition', function(ev) {
this.selectPage('Upload');
};
/*
alt 를 넘기지 못하는 관계로 주석 처리함. 130314 kagla
dialogDefinition.onOk = function (e) {
var imageSrcUrl = e.sender.originalElement.$.src;
var imgHtml = CKEDITOR.dom.element.createFromHtml('<img src=' + imageSrcUrl + ' alt="" />');
@ -55,6 +57,7 @@ CKEDITOR.on('dialogDefinition', function(ev) {
$(".cke_dialog_ui_button_ok span").click();
}
};
*/
/*
var uploadTab = dialogDefinition.getContents('Upload');
@ -167,4 +170,4 @@ CKEDITOR.editorConfig = function( config ) {
[ CKEDITOR.ALT + 48 /*ZERO*/, 'toolbarCollapse' ],
[ CKEDITOR.ALT + 121 /*F10*/, 'toolbarFocus' ],
];
};
};