mirror of
https://github.com/VTECRM/vtenext.git
synced 2026-02-26 16:18:47 +00:00
21 lines
491 B
JavaScript
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
|