Solution:
1. Add = 'root domain name' in ueditor\dialogs\;
2. Also specify the root domain name on the current page:
Copy the codeThe code is as follows:
<script type="text/javascript">
= "root domain name";
</script>
In this way, there is no problem in chrome and firefox, but under ie, you still need to simply modify UEditor and find it in:
this._setup( );
Add the following code to it:
Copy the codeThe code is as follows:
if (ie) {
('baidu_editor_' + ).src = "javascript:(function(){();='"++"';();})()";
}
Next find:
= doc;
Add it below:
='root domain name';
Here we have solved the problem of UEditor's cross-domain image transmission problem, and I hope it will be helpful to everyone.
Author: Dongkui