cheditor5 에 webp 이미지 업로드 할 수 있도록 수정. 움직이는 gif, webp 의 이미지가 정지되어 업로드 되고 있음. 원래 그런것 같음.
This commit is contained in:
@ -14,7 +14,7 @@ var activeImage = null,
|
||||
dragDropDiv,
|
||||
eventDiff_x = 0,
|
||||
eventDiff_y = 0,
|
||||
fileTypeRe = /^image\/(png|jpeg|gif)$/i,
|
||||
fileTypeRe = /^image\/(png|jpeg|gif|webp)$/i,
|
||||
geckoOffsetX_marker = -3,
|
||||
geckoOffsetY_marker = -1,
|
||||
imageCompleted = 0,
|
||||
@ -434,7 +434,7 @@ function startUpload(list) {
|
||||
|
||||
function fileFilterError(file) {
|
||||
alert("선택하신 '" + file + "' 파일은 전송할 수 없습니다.\n" +
|
||||
"gif, png, jpg 사진 파일만 전송할 수 있습니다.");
|
||||
"gif, png, jpg, webp 사진 파일만 전송할 수 있습니다.");
|
||||
}
|
||||
|
||||
function imgComplete(img, imgSize, boxId) {
|
||||
|
||||
Reference in New Issue
Block a user