OSDN Git Service

default open "url" element
[feedblog/feedgenerator.git] / openwysiwyg / changelog
1 v1.4.7
2         * added - Possibilty to maximize the editor window
3         * fixed - Correct relative image path on preview, now it works for all images
4         * added - Table highlighting possibility
5         * added - Possiblity to assign headings (crashed)
6         * changed - Code improvments to tons of functions
7         * changed - WYSIWYG.formatText() function renamed to WYSIWYG.execCommand()
8         * changed - WYSIWYG.findParentTag() renamed to WYSIWYG.findParent()
9         * added - WYSIWYG_Core.findParentNode(tagName, node) function which finds a parent node by tag name starts on the given node
10         * fixed - Implement function WYSIWYG_Core.getAttribute which solve the problem while getting the style attribute on IE
11         * changed - Getting style attribute while editing a link
12         * added - WYSIWYG_Table object, which is used for improving table editing
13         * changed - New icons print and preview (thx sweb)
14         * added - Save and return button on toolbar, the return button is disabled by default. (thx sweb)
15         * added - Table function improvments
16         * added - New WYSIWYG_Color object, which handels the color choosing
17         * added - Full justify text (code by tim)
18         
19 v1.4.6c
20         * fixed - Solved issue with backcolor command on IE
21         * changed - Add parameter value to WYSIWYG_Core.execCommand() function
22         
23 v1.4.6b
24         * changed - Debug code on context menu removed
25         * fixed - Add "px" to left and top style information on context menu
26         * changed - Correct comment of wyswiwyg-settings.js
27
28 v1.4.6a
29         * fixed - bad class name on mouse over of toolbar buttons fixed
30         * changed - Rewritten function to get the current position of an element (iframe)
31         * fixed - Context menu position issue solved
32         * fixed - Wrong variable call fixed
33         * fixed - Problem while removing elements with the context menu solved
34         
35 v1.4.6 (2006-12-17)
36         * changed - Modification changed to be the official version of openWYSIWYG
37         * fixed - Child nodes will be copied to the parent if a node is removed
38         * changed - Complete rewritten context menu
39         * changed - Behaviours of the context menu dependents on selection
40         * added - Copy/Cut/Paste to context menu
41         * changed - Code structure changes
42         * added - wysiwyg-popup.js which holds popup specific functions
43         * added - new object WYSIWYG_Core added, which holds all core functions
44         * added - addEvent() and removeEvent() core function added
45         * added - attach() and attachAll() functions which used to attach the editor to textareas
46         * changed - Complete rewritten insertLink function, now it works with tags like img, h1 etc
47         * added - Override width and height of the editor with size given by the style attributes width and height of the textarea
48         * added - New function includeCSS() in Core object, which includes a given stylesheet file on the head tag of the current page
49         * fixed - Solved problem if you want to attach the editor to all textareas
50         * changed - Include of stylesheet files changed, now using the includeCSS function
51         * changed - Complete rewritten display function, now you can use it like like function attach()
52
53 v0.4.5 (2006-11-12)
54         * added - openImageLibrary addon (for now PHP only)
55     * fixed - correct relative anchor and image path on preview
56     * changed - various javascript code changes
57
58 v0.4.4 (2006-11-11)
59     * added - capability of using image library addons
60     * fixed - corrupt font + font size selection html
61
62 v0.4.3 (2006-10-20)
63     * added - Possibility to invert the line break print outs of IE (ENTER = <br>, SHIFT + ENTER = <p>)
64     * fixed - Replace of <p> with <br> on carriage return prevented the IE to set ordered and unordered lists.
65     * added - Settings object to customize the Editor
66     * fixed - Solve javascript error on example.html
67     * fixed - Change html layout of the editor to solve the minimum width problem on dynamic editor size.
68     * added - Enable/disable possibilty of the context menu
69     * added - A general remove function, so it is possible to remove each html element
70     * added - Adding an option 'Remove Node' to the context menu
71     * added - Adding the possibilty to add the font + font size selection to toolbar2 or placing them where ever you want on the toolbars
72     * changed - Removing the vars EnableFontSelection and EnableFontSizeSelection because font + font size selection goes to ToolBar Array like all other buttons.
73     * changed - Removing vars EditorMinimumWidth and EditorMinimumHeight after solving the minimum width problem on IE. No more use.
74     * added - New Function addToolbarElement() and removeToolbarElement within the settings object
75     * added - Possibility to select a html node using the status bar node structure
76     * changed - Complete redesign of the toolbar implementation
77     * changed - Remove function removeImage() and removeLink(), because function removeNode() do it for all
78     * added - Two new functions getEditorOffsetY() and getEditorOffsetX() to get the offsets of the editor window to the body if the the page
79     * fixed - broken image path on toolbar button text view
80     * added - New function enable(), now you can enable/display the editor on the fly
81
82 v0.4.2 (2006-10-16)
83     * added - Converting decimal colors to hex colors within style attributes
84     * changed - Rename getParentTag() to findParentTag(), the function finds a tag by a given tag name
85     * changed - Improving function findParentTag(), now it finds IMG tags and do not return #tags but the parent tag
86     * added - Reimplementing function getTag(). The function gets the current selected tag
87     * added - New Function getParent(). Returns the parent node of the given element
88     * added - New Function getNodeTree(). The function returns a tree of nodes as array, beginning with the current selected element (node) and ending with the HTML node (element).
89     * added - New status bar implemented. It's shown the element structure, beginning with the current selected element and ending with the HTML element.
90     * added - New Function updateStatusBar(). Updates the status bar with the element structure.
91     * changed - Possibility of setting dynamic width and height of the editor
92     * fixed - Solving bug while setting style attribute on links
93
94 v0.4.1 (2006-10-14)
95     * added - Custom context menu for images and links
96     * added - Remove option for images and links on the context menu
97     * added - New functions removeLink() and removeImages()
98     * added - New function $() implemented, its a replacement for document.getElementById()
99     * changed - Some small other code changes
100
101 v0.4 (2006-10-12)
102     * fixed - Dublicated id attribute in color chooser popup
103     * fixed - Preventing IE to insert <p> tags on carriage return. IE will insert a normal <br> instead. (Thx to richyrich)
104     * fixed - Crappy layout of hyperlink popup on IE (fields: class and name)
105     * fixed - With multiple editors on one form, the global var viewTextMode is not unique for each editor. Used an Array instead to set the var for each editor individually
106     * fixed - Submitting the editor while in text mode then it will submit escaped html (<br> -> submit -> &lt;br&gt;). Auto switch to HTML Mode if submit
107     * fixed - Validate objects on hideFonts() and hideFontSizes() function
108     * changed - Improvements on closing font + font size selection. Add a unique event listener for each selection.
109
110 v0.3.2a (2006-10-11)
111     * added - Improvements on font and font size selection, now the drop downs will be closed if you go through the editor.
112     * fixed - Opera bug in insertNodeAtSelection() function solved. That's why the table popup won`t close if you submit it.
113     * fixed - CSS file problem in table popup. There was a hard coded path to the CSS file. I changed it so the path to the CSS file will be dynamically inserted.
114     * added - Improvements to the color selection menus on table popup, now the button "pick" has a toggle function (open/close the color selections).
115     * fixed - Font and font size selection fixed. I improved the closing a little bit, so if you choose font and then click an font size the font menue will be closed before.
116     * added - Added a select field to the hyperlink popup which holds the default targets _blank, _self, _parent, _top. On change the select field updates the 'target' text field.
117    
118
119 v0.3.1 (2006-10-10)
120     * fixed - Solve the habit of IE to convert relative urls into absolute. Now you can set two vars AnchorPathToStrip and ImagePathToStrip which holds an url that will be stripped off the href and src attributes. If you set the vars to "auto" then the url will automatically get of the current document. I recommend that you use the "auto" methode.
121
122 v0.3 (2006-10-09)
123     * added - Default style now also applies to the preview window
124     * added - Print button + function
125     * fixed - A little mistake within the function setAttribute, attr.toLowerCase -> attr.toLowerCase() it prevented the script to apply the styles in IE correctly
126     * fixed - Problem while replacing \n with <br> after submitting data in IE solved.
127     * fixed - Complete rewritten function insertLink + insertImage. Improving edit capabiltity on both links and images.
128
129 v0.2 (2006-10-08)
130     * added - New function insertLink(), now you can insert and edit links. New available attributes are target, styleclass, name and style. (IE has some limitations, getting style attribute doesn`t work, hope i can solve this problem)
131     * fixed - Stripping MS Word HTML (removed some bugs within the regex)
132     * changed - Complete rewritten source code, now all functions + var are within a var WYSIWYG. (ex. WYSIWYG.generate('textarea1', 500, 200); )
133     * fixed - Replace <div> with <span> while insert html on none IE Browsers, this solve the new line problem after the <div> tag.
134     * added - New function insertImage(), now you can insert and editing images
135     * added - Validation of browser versions (thx to TIM)
136
137 v0.1 (2006-10-06)
138     * added - Possibility to replace \n with <br> to be compatible with previous content coming from a database, for example.
139     * added - Button to strip any HTML added by word
140     * changed - Modified generate_wysiwyg() method (added width and height to customize size of each editor, width and height are optional parameter)
141     * added - Possibility to set the default font family, font size and font color of the editor area
142     * added - New function disable_wysiwyg() to disable a editor area
143     * changed - Some changes were made to toolbar1 and toolbar2. now toolbar2 is hidden if no elements are assigned.
144     * changed - Now you can add the viewSource button to toolbar1
145     * added - A new function display_wysiwyg() only for displaying an iframe with content of a textarea (without any editable features)
146     * added - A style-class for the iframe to customize the background-color (useful in firefox, because firefox use the background of the parent element)
147     * added - Preview button + function (thx to Korvo), now it works in Firefox and use the innerHTML of the iframe instead of the texteare value
148     * fixed - Some code improvements for better compatibility with Firefox + IE
149     * changed - The var cssDir changed to cssFile, now it includes the complete file path (ex. styles/wysiwyg.css)
150     * added - new stylesheet classes, check the css file
151     * added - Possibility to enable/disable font + font size selection
152     * fixed - Firefox BackColor problem fixed (thx to Merk), no hilite button needed only solve the problem on firefox