diff --git a/docs/changelog/6.x.x.txt b/docs/changelog/6.x.x.txt index ce6a46f91..5047faa33 100644 --- a/docs/changelog/6.x.x.txt +++ b/docs/changelog/6.x.x.txt @@ -53,6 +53,7 @@ for more familiarity with mac users. - Added "create shortcut" as a context menu option in the asset manager. - Fixed generateContent.pl to work with the new asset tree. + - Updated TinyMCE to version 1.44. 6.5.6 diff --git a/docs/upgrades/upgrade_6.5.6-6.6.0.pl b/docs/upgrades/upgrade_6.5.6-6.6.0.pl index 04d391a40..c321cb239 100644 --- a/docs/upgrades/upgrade_6.5.6-6.6.0.pl +++ b/docs/upgrades/upgrade_6.5.6-6.6.0.pl @@ -245,9 +245,9 @@ $importNode->addChild({ ownerUserId=>3, groupIdView=>12, groupIdEdit=>4, - toolbarRow1=>"bold\nitalic\njustifyleft\njustifyright\njustifycenter\njustifyfull\nindent\noutdent\nstyleselect\nremoveformat", - toolbarRow2=>"bullist\nnumlist\nsub\nsup\nlink\npagetree\nanchor\nunlink\nadvhr\nimage\ninsertImage\ncharmap\ncollateral", - toolbarRow3=>"tablecontrols\nvisualaid\npreview\nsource\nsearchreplace", + toolbarRow1=>"bold\nitalic\njustifyleft\njustifyright\njustifycenter\njustifyfull\nindent\noutdent\nsub\nsup\nformatselect\nremoveformat", + toolbarRow2=>"bullist\nnumlist\nlink\npagetree\nanchor\nunlink\nadvhr\nimage\ninsertImage\ncharmap\ncollateral", + toolbarRow3=>"tablecontrols\nvisualaid\npreview\ncode\ncleanup\nreplace", sourceEditorWidth=>600, sourceEditorHeight=>500, enableContextMenu=>1 @@ -260,7 +260,7 @@ $importNode->addChild({ ownerUserId=>3, groupIdView=>7, groupIdEdit=>4, - toolbarRow1=>"bold\nitalic\nbullist\nnumlist\nlink\nunlink\ncode\nemotions" + toolbarRow1=>"bold\nitalic\nbullist\nnumlist\nlink\nunlink\nemotions" },"PBrichedit000000000002"); diff --git a/docs/upgrades/upgrade_6.5.6-6.6.0.sql b/docs/upgrades/upgrade_6.5.6-6.6.0.sql index 9ad7611ec..64a7162a9 100644 --- a/docs/upgrades/upgrade_6.5.6-6.6.0.sql +++ b/docs/upgrades/upgrade_6.5.6-6.6.0.sql @@ -51,14 +51,13 @@ alter table transaction add column trackingNumber varchar(255); create table RichEdit ( assetId varchar(22) not null primary key, askAboutRichEdit int not null default 0, - preformated int not null default 0, + preformatted int not null default 0, editorWidth int not null default 0, editorHeight int not null default 0, sourceEditorWidth int not null default 0, sourceEditorHeight int not null default 0, useBr int not null default 0, nowrap int not null default 0, - convertNewLinesToBr int not null default 0, removeLineBreaks int not null default 0, npwrap int not null default 0, directionality varchar(3) not null default 'ltr', diff --git a/lib/WebGUI/Asset/RichEdit.pm b/lib/WebGUI/Asset/RichEdit.pm index f33128c84..b2d7bb25b 100644 --- a/lib/WebGUI/Asset/RichEdit.pm +++ b/lib/WebGUI/Asset/RichEdit.pm @@ -72,7 +72,7 @@ sub definition { fieldType=>'textarea', defaultValue=>'a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]' }, - preformated=>{ + preformatted=>{ fieldType=>'yesNo', defaultValue=>0 }, @@ -96,10 +96,6 @@ sub definition { fieldType=>'yesNo', defaultValue=>0 }, - convertNewLinesToBr=>{ - fieldType=>'yesNo', - defaultValue=>0 - }, removeLineBreaks=>{ fieldType=>'yesNo', defaultValue=>0 @@ -158,8 +154,7 @@ sub getEditForm { tie %buttons, "Tie::IxHash"; %buttons = ( search => "Find", - replace => "Replace", - searchreplace => "Find and Replace", + replace => "Find and Replace", cut => "Cut", copy => "Copy", paste => "Paste", @@ -181,7 +176,6 @@ sub getEditForm { sup => "Superscript", styleselect => "Apply Style", formatselect => "Apply Format", - code => "Code", fontselect => "Font", fontsizeselect => "Font Size", forecolor => "Foreground Color", @@ -192,13 +186,6 @@ sub getEditForm { anchor => "Anchor", 'unlink' => "Unlink", tablecontrols => "Table Controls", - table => "Create Table", - row_before => "Insert Table Row Before", - row_after => "Insert Table Row After", - delete_row => "Delete Table Row", - col_before => "Insert Table Column Before", - col_after => "Insert Table Column After", - delete_col => "Delete Table Column", visualaid => "Toggle Table Visual Aid", # spacer => "Toolbar Spacer", # separator => "Toolbar Separator", @@ -207,22 +194,21 @@ sub getEditForm { advhr => "Advanced Horizontal Rule", inserttime => "Insert Time", insertdate => "Insert Date", - insertdatetime => "Insert Date and Time", image => "Image", insertImage => "WebGUI Image", # advimage => "Advanced Image", -# flash => "Flash Movie", + flash => "Flash Movie", charmap => "Special Character", collateral => "WebGUI Macro", emotions => "Emoticons", help => "Help", - iespell => "Internet Explorer Spell Checker", + iespell => "Spell Checker (IE Only)", removeformat => "Remove Formatting", - source => "View Source", + code => "View/Edit Source", cleanup => "Clean Up Code", -# save => "Save", + save => "Save / Submit", preview => "Preview", - zoom => "Zoom", + zoom => "Zoom (IE Only)", 'print' => "Print", ); my $buttonGrid = '