2021-04-28 20:10:26 +02:00

21 lines
491 B
JavaScript

//crmv@24011
CKEDITOR.plugins.add( 'htmlreader',
{
init: function( editor )
{
editor.addCommand( 'selectHtmlFile',
{
exec : function( editor )
{
openPopup('include/ckeditor/filemanager/index.html?langCode=it&HtmlReader=true','','','','','','','nospinner');
}
});
editor.ui.addButton( 'HtmlReader',
{
label: 'Seleziona file html',
command: 'selectHtmlFile',
icon: this.path + 'images/htmlreader.png'
} );
}
} );
//crmv@24011e