| 1 |
lars |
1 |
WHIZZYWIG CHANGE LOG
|
|
|
2 |
v54 - coming... September 2006
|
|
|
3 |
TOFIX: iframe size in IE!!!
|
|
|
4 |
Bugs fixed:
|
|
|
5 |
- popped dialogs did not always get focus
|
|
|
6 |
- insHTML javascript actions
|
|
|
7 |
- object bug in IE
|
|
|
8 |
- empty tags retained if they had attributes
|
|
|
9 |
- whereAmI() and insHTML() recoded to improve browser compatibility
|
|
|
10 |
New Features:
|
|
|
11 |
- Fonts added: Trebuchet, Impact, Arial Black (reasonable cross-OS support)
|
|
|
12 |
- Most features now supported in Opera 9 (not insHTML)
|
|
|
13 |
- HTML tag buttons added to HTML view
|
|
|
14 |
- HTML tag buttons shown for browsers that do not support design mode
|
|
|
15 |
- New Word paste button (IE only)
|
|
|
16 |
- New "ask" option for gentleClean (default is "true") (*Needs translation)
|
|
|
17 |
- Clean removes xml from MS Word
|
|
|
18 |
|
|
|
19 |
v53 - 1 June 2006
|
|
|
20 |
Bugs fixed:
|
|
|
21 |
- Inserting an anchor with IE caused full path of editor to be added
|
|
|
22 |
- Insert an image not always at cursor with IE
|
|
|
23 |
- Custom buttons with a javascript action not working
|
|
|
24 |
- Some versions of IE (.net) stumble on code to cleanUp long dash
|
|
|
25 |
New Features:
|
|
|
26 |
- Demo to show whizzywig editing multiple divs on the same page
|
|
|
27 |
|
|
|
28 |
v52 - 14 April 2006
|
|
|
29 |
Bugs fixed:
|
|
|
30 |
- Extraneous end tag for div at end of tableform
|
|
|
31 |
- Toolbar buttons not titled (tool tips) in Firefox/Mozilla
|
|
|
32 |
- Cannot remove a link (by blanking URL in link form)
|
|
|
33 |
- DOM trail not displayed in status bar for Firefox/Mozilla
|
|
|
34 |
New Features:
|
|
|
35 |
- Cleanup now removes fixedheight on table elements
|
|
|
36 |
- Table buttons now available for Mozilla/Firefox
|
|
|
37 |
- Rendered source easier to read
|
|
|
38 |
|
|
|
39 |
xhtml.js v2 - 2 April 2006
|
|
|
40 |
- Changed to MIT licence to match v51 of whizzywig.js
|
|
|
41 |
- Some simplifications to code for smaller file size.
|
|
|
42 |
|
|
|
43 |
v51 - 1 April 2006
|
|
|
44 |
Bugs fixed:
|
|
|
45 |
- syncTextarea did not attach to onsubmit if the form was not the immediate parent of the textarea
|
|
|
46 |
this bug sometimes described as "Whizzywig does not save if it's in a table or div"
|
|
|
47 |
- Fallback font for Courier incorrectly specified as 'mono' : corrected to 'monospace'
|
|
|
48 |
- Enter key on forms submitted whole page - Enter key now does nothing
|
|
|
49 |
- 404 errors if buttonPath == '' or 'textbuttons'
|
|
|
50 |
- Width calc now uses 'ex' rather than 'em' - better in Firefox
|
|
|
51 |
- simplified code to switch designmode on + oWhizzy renamed to oW
|
|
|
52 |
New Features:
|
|
|
53 |
- *Extendable*: Can now add your own button or selects to the toolbar.
|
|
|
54 |
Will insert HTML or execute javascript (which may be internal or external to whizzywig)
|
|
|
55 |
- Switched to MIT licence (allows use of whizzywig in commercial projects)
|
|
|
56 |
- Added buttons to insert 'http://' or 'mailto:' in link form
|
|
|
57 |
- Setting color no longer inserts font tag
|
|
|
58 |
- cleanUp() has a better go at removing XML inserted by Office applications
|
|
|
59 |
- gentleClean switch: set gentleClean = false and spans, inline styles and classes
|
|
|
60 |
removed by cleanUp(). Default is true; i.e. they are retained (unless class=Mso...),
|
|
|
61 |
so not as vicious as v50
|
|
|
62 |
- syncTextarea() now called whenever cleanUp() is executed
|
|
|
63 |
|
|
|
64 |
v50 - 1 February 2006
|
|
|
65 |
Bugs fixed:
|
|
|
66 |
- minor bugs on cleanup and insHTML.
|
|
|
67 |
New Features:
|
|
|
68 |
- cleanUp() removes spans, inline styles and classes as well as fonts and table widths
|
|
|
69 |
ie vicious with text pasted in from Office applications, but preserves bold, italics, bullets etc.
|
|
|
70 |
This will stomp over some formatting (e.g. text color) applied by whizzywig, so you can disable
|
|
|
71 |
with
|
|
|
72 |
gentleClean = true;
|
|
|
73 |
- No longer forces a white background - picks up background from the cssFile
|
|
|
74 |
- Highlight button enabled for Mozilla/FireFox
|
|
|
75 |
- Now uses real <button>s for tighter code
|
|
|
76 |
- If a button image is missing, it will use (translated) text instead of reporting a broken image.
|
|
|
77 |
Note, this will generate harmless 404 errors in log files.
|
|
|
78 |
- No longer necessary to have onsubmit="syncTextarea()", whizzywig will automatically attach the event.
|
|
|
79 |
Note, if you want process the textarea with your own onsubmit event, you must call syncTextarea() first.
|
|
|
80 |
|
|
|
81 |
v49 - 23 December 2005
|
|
|
82 |
Bugs fixed:
|
|
|
83 |
- In IE, Insert Image/Table sometimes inserts at the beginning of the page instead of at the cursor.
|
|
|
84 |
- When using the xhtml option, view source does not convert to xhtml
|
|
|
85 |
v48 - 13 December 2005
|
|
|
86 |
New Features:
|
|
|
87 |
- Firefox/Mozilla only:
|
|
|
88 |
Ctrl+L opens Link dialog, Ctrl+M opens Image dialog
|
|
|
89 |
- Bold command always inserts <strong>, Italic command always inserts <em>
|
|
|
90 |
-this means IE users can unformat changes made by Firefox users and vice versa
|
|
|
91 |
-also <B> and <I> are deprecated tags
|
|
|
92 |
- URL fields no longer pre-populated with 'http://' (confusing if inserting relative link)
|
|
|
93 |
- 'Choose style' select has option 'Computer code' to insert <code> tag
|
|
|
94 |
- cleanup() leaves spans and classes except 'mso...'
|
|
|
95 |
- cleanup() substitutes long dash with '-'
|
|
|
96 |
- Clicking the Cleanup button with text selected removes formatting from the selection
|
|
|
97 |
Bugs fixed:
|
|
|
98 |
- Cursor not visible in HTML view in Firefox/Mozilla
|
|
|
99 |
- class="MsoNormal" not alway removed by cleanup();
|
|
|
100 |
- IE displays a warning message if it encounters an iframe with no src attribute while using HTTPS
|
|
|
101 |
- Mozilla Javascript console reports some CSS errors on whizzywig
|
|
|
102 |
|
|
|
103 |
v47 - 12 October 2005
|
|
|
104 |
New Feature:
|
|
|
105 |
- Clean up now takes width attributes out of tables and <TD>
|
|
|
106 |
(so tables pasted in from Word will have liquid layout)
|
|
|
107 |
Note: you can automatically invoke clean up on Submit with
|
|
|
108 |
<form onsubmit="cleanUp(); syncTextarea();" ...
|
|
|
109 |
- Cleanup has a go at removing MS xml in spans
|
|
|
110 |
(typically introduced if pasting in a Word document with an image)
|
|
|
111 |
- Clean up of MS "smart quotes" reverts to replacing with " and '
|
|
|
112 |
because HTML entities cause problems with spell checking, don't they?
|
|
|
113 |
|
|
|
114 |
v46 - 19 September 2005
|
|
|
115 |
New Feature:
|
|
|
116 |
- Insert link now has option to open link in new window
|
|
|
117 |
- Whizzywig version text now hidden in a '.'
|
|
|
118 |
- Mozilla version no longer uses styled spans for bold and italic
|
|
|
119 |
- interface for image and link browser published
|
|
|
120 |
Bugs fixed:
|
|
|
121 |
- Could not use an image as a link
|
|
|
122 |
|
|
|
123 |
v45 - 24 May 2005
|
|
|
124 |
New Features:
|
|
|
125 |
- Including html2xhtml.js in the HTML page that calls Whizzywig will produce xhtml
|
|
|
126 |
output rather than HTML4. [Whizzywig checks for get_xhtml() function].
|
|
|
127 |
- Empty tags are removed from the generated code.
|
|
|
128 |
- Toolbar selects are lined up more neatly.
|
|
|
129 |
- Clicking the "Clean" button with text selected removes formatting from the selected text.
|
|
|
130 |
(As before, clicking Clean with no selection removes unwanted formatting on everything)
|
|
|
131 |
- Clean now removes full justification (justify renders badly in some browsers).
|
|
|
132 |
- Clean turns "smartquotes" inserted by MS Word etc. into correct HTML entities.
|
|
|
133 |
- Insert image border and margin fields have tooltip - can now be
|
|
|
134 |
numbers (e.g. '0', '1') or
|
|
|
135 |
CSS values (e.g. 'thin dashed #999999', '1px solid black')
|
|
|
136 |
Bugs fixed:
|
|
|
137 |
- Inserting an image or table in IE without first clicking in the edit area
|
|
|
138 |
incorrectly inserted the image or table at the top of the page.
|
|
|
139 |
- Clearing a link did not work on Mozilla/Firefox.
|
|
|
140 |
|
|
|
141 |
v44 - 05 May 2005
|
|
|
142 |
Bug fix - changing font size after CTRL+A in Firefox loses text
|
|
|
143 |
+other peculiarities fixed related to the fontTags variable - now withdrawn
|
|
|
144 |
Experimental - hook for xhtml conversion
|
|
|
145 |
|
|
|
146 |
v43 - 04 May 2005
|
|
|
147 |
Bugs fixed:
|
|
|
148 |
- sometimes get blank line after toolbar and before edit area
|
|
|
149 |
- focus not always returned to edit area
|
|
|
150 |
- formatting could introduce empty HTML tag if no text selected
|
|
|
151 |
- toolbar sometimes wider than edit area
|
|
|
152 |
New Features:
|
|
|
153 |
- Translation of message text now supported, via externally defined language array.
|
|
|
154 |
- Version number simpler, less visible.
|
|
|
155 |
- <IMG>ALT text defaults to base part of filename (so '/images/diagram.gif' gives 'diagram')
|
|
|
156 |
- Ensures user selects text before attempting link or color
|
|
|
157 |
- Javascript trimmed to keep below 21k
|
|
|
158 |
|
|
|
159 |
v42 First GNU GPL version
|