ckeditor谷歌68报错 Object.fromEntries is not a function
解决方法1:
npm i polyfill-object.fromentries
在入口文件中引入:import ‘polyfill-object.fromentries’
解决方法2:
在build\cdeditor.js中加入以下代码:
Object.fromEntries = function fromEntries (iterable) {
return [...iterable].reduce((obj, [key, val]) => {
obj[key] = val;
return obj;
}, {
});
};