parent
ba12c14a1d
commit
5f2a6c53c4
1
NEWS
1
NEWS
|
@ -7,6 +7,7 @@ Enhancements
|
||||||
Bug fixes
|
Bug fixes
|
||||||
- [core] remove all alarms before sending IMIP replies (#3925)
|
- [core] remove all alarms before sending IMIP replies (#3925)
|
||||||
- [web] fixed rendering of forwared HTML message with inline images (#3981)
|
- [web] fixed rendering of forwared HTML message with inline images (#3981)
|
||||||
|
- [web] fixed pasting images in CKEditor using Chrome (#3986)
|
||||||
|
|
||||||
3.2.5 (2017-01-10)
|
3.2.5 (2017-01-10)
|
||||||
------------------
|
------------------
|
||||||
|
|
|
@ -71,6 +71,15 @@
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
ck.on('paste', function(event) {
|
||||||
|
var html;
|
||||||
|
if (event.data.type == 'html') {
|
||||||
|
html = event.data.dataValue;
|
||||||
|
// Remove images to avoid ghost image in Firefox; images will be handled by the Image Upload plugin
|
||||||
|
event.data.dataValue = html.replace(/<img( [^>]*)?>/gi, '');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
// Intercept the request when an image is pasted, keep an inline base64 version only.
|
// Intercept the request when an image is pasted, keep an inline base64 version only.
|
||||||
ck.on('fileUploadRequest', function(event) {
|
ck.on('fileUploadRequest', function(event) {
|
||||||
var data, img;
|
var data, img;
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue