icydmimagelibrary
editor.ui.registry.addIcon('icydm-image-library', '<svg class="Zi Zi--InsertImage" width="24" height="24" style="fill: #4CAF50;"><path d="M21 17.4c0 .9-.9 1.6-2 1.6H5c-1.1 0-2-.7-2-1.6V6.6C3 5.7 3.9 5 5 5h14c1.1 0 2 .7 2 1.6v10.8zm-9.4-3.9a.5.5 0 01-.9 0l-1.3-2a.5.5 0 00-.8 0l-2.2 3.8a.5.5 0 00.5.7h10.3a.5.5 0 00.4-.7l-3-5.5a.5.5 0 00-.9 0l-2.1 3.7z" fill-rule="evenodd"/></svg>');
editor.ui.registry.addButton('icydmimagelibrary', {
tooltip: "Insert image",
icon: 'icydm-image-library',
onAction: this.showImagebnt
});
showImagebnt(){
fileUP.showImage=true
},
暂无讨论,说说你的看法吧