Actualización

This commit is contained in:
Xes
2025-04-10 12:49:05 +02:00
parent 4aff98e77b
commit 1cdd00920f
9151 changed files with 1800913 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
/*********************************************************************************************************/
/**
* inserthtml plugin for CKEditor 4.x (Author: gpickin ; email: gpickin@gmail.com)
* version: 2.0
* Released: On 2015-03-10
* Download: http://www.github.com/gpickin/ckeditor-inserthtml
*
*
* Modified from original: inserthtml plugin for CKEditor 3.x (Author: Lajox ; Email: lajox@19www.com)
* mod-version: 1.0
* mod-Released: On 2009-12-11
* mod-Download: http://code.google.com/p/lajox
*/
/*********************************************************************************************************/
CKEDITOR.dialog.add('inserthtmlDialog',function(editor){
return{
title:'Insert HTML',
minWidth:380,
minHeight:220,
contents:[
{ id:'info',
label:'HTML',
elements:[
{ type:'textarea',
id:'insertcode_area',
label:''
}
]
}
],
onOk: function() {
var sInsert=this.getValueOf('info','insertcode_area');
if ( sInsert.length > 0 )
editor.insertHtml(sInsert);
}
};
});

Binary file not shown.

After

Width:  |  Height:  |  Size: 395 B

View File

@@ -0,0 +1,30 @@
/*********************************************************************************************************/
/**
* inserthtml plugin for CKEditor 4.x (Author: gpickin ; email: gpickin@gmail.com)
* version: 2.0
* Released: On 2015-03-10
* Download: http://www.github.com/gpickin/ckeditor-inserthtml
*
*
* Modified from original: inserthtml plugin for CKEditor 3.x (Author: Lajox ; Email: lajox@19www.com)
* mod-version: 1.0
* mod-Released: On 2009-12-11
* mod-Download: http://code.google.com/p/lajox
*/
/*********************************************************************************************************/
(function() {
CKEDITOR.plugins.add('inserthtml',
{
init: function( editor ) {
editor.addCommand( 'inserthtml', new CKEDITOR.dialogCommand( 'inserthtmlDialog' ) );
editor.ui.addButton( 'inserthtml', {
label: 'Insert HTML',
command: 'inserthtml',
toolbar: 'insert',
icon : this.path + 'inserthtml.png'
});
CKEDITOR.dialog.add( 'inserthtmlDialog', this.path + 'dialogs/inserthtml.js' );
}
});
})();

View File

@@ -0,0 +1,49 @@
/*********************************************************************************************************/
/**
* inserthtml plugin for CKEditor 4.x (Author: gpickin ; email: gpickin@gmail.com)
* version: 2.0
* Released: On 2015-03-10
* Download: http://www.github.com/gpickin/ckeditor-inserthtml
*
*
* Modified from original: inserthtml plugin for CKEditor 3.x (Author: Lajox ; Email: lajox@19www.com)
* mod-version: 1.0
* mod-Released: On 2009-12-11
* mod-Download: http://code.google.com/p/lajox
*/
/*********************************************************************************************************/
/**************************************************************************************************************
inserthtml plugin for CKEditor 4.x
--Insert Html Code Plugin
Plugin Description CKEditor 4.0+ Insert Html Code Plugin 2.0
***************************************************************************************************************/
/**************Help Begin***************/
1. Upload inserthtml folder to ckeditor/plugins/
2. Configured in the ckeditor/config.js :
Add to config.toolbar a value 'inserthtml'
e.g.
config.toolbar =
[
[ 'Source', '-', 'Bold', 'Italic', 'inserthtml' ]
];
3. Again Configured in the ckeditor/config.js ,
Expand the extra plugin 'inserthtml' such as:
config.extraPlugins='myplugin1,myplugin2,inserthtml';
4. Language Features Removed due to compatibility issues
/**************Help End***************/