Version 3.2.3
This commit is contained in:
1 parent
ae5c01cc78
commit
78706903a2
2641 files changed
+228363
-201264
No files matched your search
@@ -11,6 +11,47 @@ var _editor = window.IPBoard;
|
||||
|
||||
var isRTL = ( isRTL ) ? isRTL : false;
|
||||
|
||||
/* ===================================================================================================== */
|
||||
/* Values for the IPB text editor */
|
||||
|
||||
IPBoard.prototype.editor_values = $H({
|
||||
'templates': $A(),
|
||||
'colors_perrow': 8,
|
||||
'colors': [ '000000' , 'A0522D' , '556B2F' , '006400' , '483D8B' , '000080' , '4B0082' , '2F4F4F' ,
|
||||
'8B0000' , 'FF8C00' , '808000' , '008000' , '008080' , '0000FF' , '708090' , '696969' ,
|
||||
'FF0000' , 'F4A460' , '9ACD32' , '2E8B57' , '48D1CC' , '4169E1' , '800080' , '808080' ,
|
||||
'FF00FF' , 'FFA500' , 'FFFF00' , '00FF00' , '00FFFF' , '00BFFF' , '9932CC' , 'C0C0C0' ,
|
||||
'FFC0CB' , 'F5DEB3' , 'FFFACD' , '98FB98' , 'AFEEEE' , 'ADD8E6' , 'DDA0DD' , 'FFFFFF'
|
||||
],
|
||||
|
||||
// You can add new fonts here if you wish, HOWEVER, if you use
|
||||
// non-standard fonts, users without those fonts on their computer
|
||||
// will not see them. The default list below has the generally accepted
|
||||
// safe fonts; add others at your own risk!
|
||||
'primary_fonts': $H({ arial: "Arial",
|
||||
arialblack: "Arial Black",
|
||||
arialnarrow: "Arial Narrow",
|
||||
bookantiqua: "Book Antiqua",
|
||||
centurygothic: "Century Gothic",
|
||||
comicsansms: "Comic Sans MS",
|
||||
couriernew: "Courier New",
|
||||
franklingothicmedium: "Franklin Gothic Medium",
|
||||
garamond: "Garamond",
|
||||
georgia: "Georgia",
|
||||
impact: "Impact",
|
||||
lucidaconsole: "Lucida Console",
|
||||
lucidasansunicode: "Lucida Sans Unicode",
|
||||
microsoftsansserif: "Microsoft Sans Serif",
|
||||
palatinolinotype: "Palatino Linotype",
|
||||
tahoma: "Tahoma",
|
||||
timesnewroman: "Times New Roman",
|
||||
trebuchetms: "Trebuchet MS",
|
||||
verdana: "Verdana"
|
||||
}),
|
||||
'font_sizes': $A([ 1, 2, 3, 4, 5, 6, 7 ])
|
||||
|
||||
});
|
||||
|
||||
// =============================================================================================================//
|
||||
// Class for RTE EDITOR which is inherited by main Editor class
|
||||
_editor_rte = Class.create({
|
||||
@@ -2560,9 +2601,12 @@ if( Prototype.Browser.Opera && USE_RTE ){
|
||||
Event.observe( this.editor_document, 'keypress', this.events.editor_document_onkeypress.bindAsEventListener( this ) );
|
||||
|
||||
// Remove spellcheck button
|
||||
$( this.id + '_cmd_spellcheck' ).hide();
|
||||
this.hidden_objects[ this.id + '_cmd_spellcheck' ] = 1;
|
||||
|
||||
if ( $( this.id + '_cmd_spellcheck' ) )
|
||||
{
|
||||
$( this.id + '_cmd_spellcheck' ).hide();
|
||||
this.hidden_objects[ this.id + '_cmd_spellcheck' ] = 1;
|
||||
}
|
||||
|
||||
// Kill tags
|
||||
if ( this.use_bbcode )
|
||||
{
|
||||
@@ -3244,7 +3288,7 @@ function editorExpand( key )
|
||||
}
|
||||
} );
|
||||
|
||||
if ( x_expanded[key] == 0 )
|
||||
if ( !x_expanded[key] || x_expanded[key] == 0 )
|
||||
{
|
||||
Debug.write(" expanding: " + key);
|
||||
$(key + '_controls').appear();
|
||||
|
||||
Reference in new issue
Block a user