Version 3.4.5

This commit is contained in:
Neo committed 2025-12-19 00:38:12 -08:00
1 parent fb6b5baabc
commit e4478369d8
1360 files changed
+228921 -179445

No files matched your search

+44 -13
View File
@@ -29,9 +29,9 @@ CKEDITOR.editorConfig = function( config )
}
/* Use p */
config.enterMode = CKEDITOR.ENTER_P;
config.forceEnterMode = false;
config.shiftEnterMode = CKEDITOR.ENTER_BR;
//config.enterMode = CKEDITOR.ENTER_P;
//config.forceEnterMode = false;
//config.shiftEnterMode = CKEDITOR.ENTER_BR;
/* Hide advanced options */
config.linkShowAdvancedTab = false;
@@ -41,17 +41,16 @@ CKEDITOR.editorConfig = function( config )
config.autoAjaxSaveInterval = 120000;
/*config.tabSpaces = 4;*/
config.tabIndex = 2;
config.tabIndex = 25;
/* Remove format stuff */
config.removeFormatTags = 'b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var,h1,h2,h3,h4';
config.removeFormatTags = 'b,big,pre,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var,h1,h2,h3,h4';
/* Use numerical entities instead of named entities */
//config.entities_processNumerical = 'force';
/* Hide elements path body > strong etc, and the right click context menu */
IPS_remove_plugins.push('a11yhelp');
IPS_remove_plugins.push('bbcode');
IPS_remove_plugins.push('elementspath');
IPS_remove_plugins.push('contextmenu');
IPS_remove_plugins.push('flash');
@@ -68,24 +67,56 @@ CKEDITOR.editorConfig = function( config )
/* Only use font-sizes we recognize */
config.fontSize_sizes = '8/8px;10/10px;12/12px;14/14px;18/18px;24/24px;36/36px;48/48px';
/* Register our custom plug ins */
/* What are we showing? */
IPS_extra_plugins.push('ipssourcearea');
IPS_extra_plugins.push('ipsbbcode');
IPS_extra_plugins.push('ipsquote');
IPS_extra_plugins.push('ipscode');
IPS_extra_plugins.push('ipsmedia');
IPS_extra_plugins.push('ipsautosave');
if ( IPS_smiles['count'] )
{
IPS_extra_plugins.push('ipsemoticon');
}
IPS_extra_plugins.push('ipsoptions');
if ( inACP )
{
config.extraPlugins = 'ipsbbcode,ipsquote,ipscode,ipsmedia,ipsautosave,ipsswitch,ipsemoticon';
IPS_extra_plugins.push('pastefromword');
}
else
if ( jsDebug )
{
config.extraPlugins = 'ipsbbcode,ipsquote,ipscode,ipsmedia,ipsautosave,ipsswitch,pastefromword,ipsemoticon';
if ( config.IPS_BBCODE_BUTTONS != 'ShowBlocks' )
{
config.IPS_BBCODE_BUTTONS.push('ShowBlocks');
}
}
//IPS_extra_plugins.push('ipsimage');
/* Register our custom plug ins */
config.extraPlugins = IPS_extra_plugins.join(',');
config.disableNativeSpellChecker = false;
/* Disables editor allowing images, etc. to be resized */
config.disableObjectResizing = true;
/* Define tool bars */
config.toolbar = new Array( 'ipsfull', 'ipsmini', 'ipsacp' );
/* Retain font coloring
* Ticket: 845336
* Link: http://docs.cksource.com/CKEditor_3.x/Howto/Paste_Font_Styles
*/
config.pasteFromWordRemoveFontStyles = false;
config.toolbar_ipsfull =
[
['Ipsswitch', 'RemoveFormat', 'Ipsbbcode'], [ '-', 'Font', 'FontSize'], [ '-', 'TextColor', 'Ipsemoticon', 'Ipsmedia' ], ['-','Find', 'Replace'], '-', ['Undo', 'Redo'], '-', ['Copy', 'Paste', 'PasteText', 'PasteFromWord' ],
['Ipssource', 'RemoveFormat', 'Ipsbbcode'], [ '-', 'Font', 'FontSize'], [ '-', 'TextColor', 'Ipsemoticon', 'Ipsmedia' ], ['-','Find', 'Replace'], '-', ['Undo', 'Redo'], '-', ['Copy', 'Paste', 'PasteText', 'PasteFromWord' ], ['-', 'Ipsoptions'],
'/',
['Bold', 'Italic', 'Underline', 'Strike' ], ['Subscript', 'Superscript'], ['BulletedList', 'NumberedList'],
['Link', 'Unlink', 'Image', 'Ipscode', 'Ipsquote' ], config.IPS_BBCODE_BUTTONS, ['Outdent', 'Indent', 'JustifyLeft','JustifyCenter','JustifyRight']
@@ -94,12 +125,12 @@ CKEDITOR.editorConfig = function( config )
config.toolbar_ipsmini =
[
['Ipsswitch', 'RemoveFormat' ], ['Bold', 'Italic', 'Underline', 'Strike' ], ['BulletedList'], ['Font'], ['TextColor'], ['Link', 'Unlink', 'Image', '-', 'Ipsmedia', '-', 'Ipscode', 'Ipsquote' ]
['Ipssource', 'RemoveFormat' ], ['Bold', 'Italic', 'Underline', 'Strike' ], ['BulletedList'], ['Font'], ['TextColor'], ['Link', 'Unlink', 'Image', '-', 'Ipsmedia', '-', 'Ipscode', 'Ipsquote' ]
];
config.toolbar_ipsacp =
[
['Source', 'RemoveFormat', 'Ipsbbcode'], [ '-', 'Font', 'FontSize'], [ '-', 'TextColor', 'Ipsemoticon', 'Ipsmedia' ], ['-','Find', 'Replace'], '-', ['Undo', 'Redo'], '-', ['Copy', 'Paste', 'PasteText', 'PasteFromWord' ],
['Ipssource', 'RemoveFormat', 'Ipsbbcode'], [ '-', 'Font', 'FontSize'], [ '-', 'TextColor', 'Ipsemoticon', 'Ipsmedia' ], ['-','Find', 'Replace'], '-', ['Undo', 'Redo'], '-', ['Copy', 'Paste', 'PasteText', 'PasteFromWord' ],
'/',
['Bold', 'Italic', 'Underline', 'Strike' ], ['Subscript', 'Superscript'], ['BulletedList', 'NumberedList'],
['Link', 'Unlink', 'Image', 'Ipscode', 'Ipsquote' ], config.IPS_BBCODE_BUTTONS, ['Outdent', 'Indent', 'JustifyLeft','JustifyCenter','JustifyRight']