Share

SPAW Editor - web based WYSIWYG editor

File Release Notes and Changelog

Release Name: SPAW PHP v.2.0.2

Notes:
SPAW Editor PHP Edition
Version 2.0.2
Release Notes

Thanks to everyone who downloaded and tried SPAW Editor v.2! 
Your feedback was extremely helpful.

This release was a little rushed because of one feature (add-on) we wanted to
bring you as soon as possible and unfortunatelly it uncovered a small bug in
earlier versions preventing it from working as it should. The add-on I'm talking
about is a lite theme for SPAW2. It uses 'spaw2' theme buttons but does all the
manipulations using CSS and JavaScript rather than additional images.

'spaw2lite' theme uses 4 times less images than 'spaw2' and transparent 
background approach combined with smaller number of files results in 10 times
less toolbar button related traffic. spaw2lite theme is available as a separate
download.

There are also a couple of important bug fixes in this release: strings like
$10 (dollar sign followed by number) were removed in previous versions, 
selecting an image and applying a link to it failed under IE and more.

These are only a few of the many changes in the 2.0.2 release. For a complete
list of changes see changelog.txt 

---
This release includes English, Lithuanian, Russian, Hungarian and Dutch language
files updated for version 2. Other language files were ported from version 1.
This means that some of the messages will appear in English instead of the
language of a specific language file. In case you are fluent in any language
that wasn't updated for version 2, we would really appreciate if you could invest
a little of your time to bring these files up to date.

We will post all the updates in our blog at http://blog.solmetra.com

We would really like to hear your feedback either through our forums at 
http://forums.solmetra.com, comments in our blog at http://blog.solmetra.com or 
email at spaw@solmetra.com


Changes: 2007-02-19 v.2.0.2 ------------------ - FEATURE ADDED: SpawFm plugin: when "fsdir" parameter is set, "dir" parameter can be set to absolute URL - FEATURE ADDED: added semi-automatic path calculation to config file which could be used if fully automatic algorithm fails - FEATURE ADDED: added preformatted, address and paragraph (<p>) options to default paragraph dropdown option list - BUGFIX: when applying a hyperlink to selected image the image was removed under IE - BUGFIX: strings like $xx (where xx - some digits) were treated by the editors - BUGFIX: background color setting in default wysiwyg.css file was preventing displaying of background color settings on tables and table cells - BUGFIX: 1.x compatibility mode: unnecessary default values for width and height removed, default (set in config file) theme will be always used in compatibility mode - BUGFIX: delete/backspace didn't work under Gecko until user typed something PHP code as regex back references and stripped from the content - BUGFIX: CSS classes were not applied to toolbar items when defined in themes - BUGFIX: SpawFm plugin: DOCUMENT_ROOT was used in sample 'fs_dir' parameter, replaced with SPAW_ROOT - BUGFIX: SpawFm plugin: use of undefined variable - BUGFIX: added line breaks at the end of browser specific editor.js files. This was causing javascript errors in some environments. - COSMETIC FIX: spaw2 theme was rendered with cosmetic glitch when used in XHTML 1.1 page - LANGUAGE FILE ADDED: SpawFm plugin: Lithuanian - LANGUAGE FILE ADDED: SpawFm plugin: Russian - LANGUAGE FILE ADDED: SpawFm plugin: Dutch (Floris Brant) 2007-01-24 v.2.0.1 ------------------ - FEATURE ADDED: SpawFm plugin: browse/create/rename/delete subdirectories - FEATURE ADDED: SpawFm plugin: rename files (file extensions cannot be changed except case) - FEATURE ADDED: SpawFm plugin: optional 'fsdir' parameter to specify absolute filesystem path to directory - FEATURE ADDED: SpawFm plugin: files list sorted by name - FEATURE ADDED: implemented constrain proportions feature in image properties dialog - FEATURE ADDED: image preview in image properties dialog - FEATURE ADDED: added insertHtmlAtSelection() API method which inserts specified string - FEATURE ADDED: added selectionWalk API function allowing to specify a function which would be called on every node in current selection - BUGFIX: "Access denied" error occurred on loading in some installations of IE6 - BUGFIX: specifying toolbarset as a parameter to constructor resulted in PHP error - BUGFIX: added code to dialog.php to check if the session has already been started (in case it's autostarted on the server) - BUGFIX: SPAW was stealing focus under IE when page loads - BUGFIX: background image button wasn't working in table and table cell properties dialogs - BUGFIX: focus wasn't set to the currently visible editing area when switching between html/design modes which caused minor problems in IE - BUGFIX: absolute urls were not correctly stripped if the url was below spaw's directory (moved empty.html into it's own directory) - BUGFIX: SpawFm plugin: use full URL for images preview - BUGFIX: removed onfocus event handler from iframe's because it was called constantly in IE in floating toolbar mode - BUGFIX: toolbar wasn't correctly positioned in floating mode under Gecko when document was with xhtml doctype - BUGFIX: enctype attribute was lost on FORM tags - BUGFIX: value and type attributes were lost on input tags under IE (type="text" only) - IMPROVEMENT: added window.focus() to dialogs to activate dialogs when they load or when returning from other dialogs (like file manager) - IMPROVEMENT: when returning from one dialog to another (like from file manager to image properties) focus is set to appropriate field - IMPROVEMENT: OK button is now triggered by pressing enter in dialogs - COSMETIC IMPROVEMENT: optimized dialog resizing algorithm a little (so there's a little less flickering under IE and Opera) - COSMETIC IMPROVEMENT: dialogs are resized and centered only when they open (when navigating through directories in file manager it won't resize and center) - COSMETIC IMPROVEMENT: hyperlink dialog wasn't sized properly - COSMETIC IMPROVEMENT: dialogs open centered 2007-01-09 v.2.0.0 ------------------ - FEATURE ADDED: font tags replaced with span equivalents in xhtml rendering mode - FEATURE ADDED: SpawFm plugin: automatically select uploaded file - FEATURE ADDED: SpawFm plugin: allow specifying max width and/or height for uploaded images - FEATURE ADDED: SpawFm plugin: 'chmod_to' setting allows to specify what mode the uploaded file should be tried to chmod to. - FEATURE ADDED: added SpawDialog.returnValue method which handles callback function calls in dialogs - FEATURE ADDED: added trimLineBreaks and htmlEncode methods to SpawUtils - CHANGE: changed SPAW v.1 compatibility code to use default theme instead of SPAW1 (spaw1 theme will be available as a separate download only) - BUGFIX: spaw2 theme css file had reference to non-existing and not needed toolbar background image - BUGFIX: in some cases line breaks in code were multiplying under Gecko - BUGFIX: removed some unnecessary page hidding and showing calls under Gecko - BUGFIX: context menu was incorrectly positioned under Gecko when used inside XHTML doctype documents - BUGFIX: some Flash (embed) attributes were lost while switching between design/html modes (should still use embed tags for flash rather than object because IE loses embed inside object tag and doesn't handle object right in wysiwyg mode) - BUGFIX: Flash placeholder image wasn't always displayed under Gecko - BUGFIX: horizontal rule was inserted in IE with id="null" - BUGFIX: images under MSIE: images where sometimes inserted in the parent document, image property editing produced errors, image properties where unavailable from context menu - BUGFIX: added ALT attributes to img tags in theme templates - BUGFIX: SpawFm plugin: <?= replaced with <?php echo - BUGFIX: editor wasn't correctly resized when making it smaller under Gecko and spaw2 theme - BUGFIX: all attributes except class and style were stripped from span, div and font tags - BUGFIX: SpawFm plugin: variable name mistype - LANGUAGE FILE ADDED: Dutch - LANGUAGE FILES ADDED: ported language files from SPAW v.1 - TWEAK: added some CSS properties to theme stylesheets to protect parent page styles from interfering with SPAW's interface - DOCUMENT ADDED: plugin developer's guide 2006-12-19 v.2.0.0 RC --------------------- - FEATURE ADDED: config variable 'base_href' added to specify protocol and domain part to be added to urls returned from file manager (use in conjunction with strip_absolute_urls = false) - FEATURE ADDED: SpawFm plugin returns full file URL if config variable 'base_href' is specified and is not empty - FEATURE ADDED: browse button in hyperlink dialog to insert links to files - FEATURE ADDED: SpawFm plugin keyboard navigation - FEATURE ADDED: added setStaticConfigValueElement, getStaticConfigValueElement, getConfigValueElement, setConfigValueElement methods to config and editor classes - FEATURE ADDED/BUGFIX: editor/page names now can contain square brackets ([ and ]) - OPTIMIZATION: updateToolbar now only checks toolbar item status/value if it's enabled - CHANGE: changed default resizing direction in config file to "vertical" - CHANGE: disabled file upload button is shown in SpawFm plugin if upload is not allowed - BUGFIX: if submit() method was used on a submit type control (input type= submit or type=image) this often resulted in lost content - BUGFIX: form onsubmit event handler was added multiple times if there were more than 1 editor instance resulting in unexpected HTML rendering results - BUGFIX: editor was unusable in Internet Explorer when inserted into page with XHTML doctype declaration - BUGFIX: editing area wasn't editable in Mozilla (and probably older versions of Firefox) - BUGFIX: custom_tbi_css_events used where custom_tbi_events was assumed - BUGFIX: SpawLang->getLang was just a copy of setLang - BUGFIX: when moving focus to other editor in Gecko active editor wasn't set - BUGFIX: javascript error was generated in Opera when inserting at the end of document - BUGFIX: in xhtml beautification process br tag wasn't generating new line and indentation - BUGFIX: extra quote in one tag in SPAW2 theme templates - BUGFIX: flash wasn't properly rendered in html under IE - BUGFIX: flash wasn't replaced with placeholder images on initialization - BUGFIX: in Gecko based browsers disabled buttons were still clickable - BUGFIX: Javascript error on iframe focus in SpawFm Plugin - BUGFIX: content wasn't always correctly inserted under Gecko and Opera - BUGFIX: php notice in SpawFm plugin - BUGFIX: text wasn't properly html encoded when rendered to HTML - BUGFIX: updated xhtml rendering engine: empty paragraphs were rendered without &nbsp; under IE, useless empty elements removed (b, i, etc.) - BUGFIX: added indentation for ul, ol, li, thead, tfoot tags - BUGFIX: added default_output_charset config variable, dialogs now use user specified output charset, modified setLanguage method to accept output charset as a second parameter - BUGFIX: '.' and '..' directories were shown in SpawFm plugin - BUGFIX: some execCommand related calls were throwing exceptions under Gecko - LANGUAGE FILE ADDED: Hungarian (Szentgyörgyi J?nos, www.dynamicart.hu) 2006-12-06 v.2.0.0 Beta ----------------------- - First public v.2 release