source: cows/branches/cows-vis/cows/pylons/project_templates/cows_server/+package+/public/js/yui/editor/README @ 5259

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/cows/branches/cows-vis/cows/pylons/project_templates/cows_server/+package+/public/js/yui/editor/README@5259
Revision 5259, 8.1 KB checked in by domlowe, 11 years ago (diff)

adding yui javascript

Line 
1**** version 2.4.0 ***
2
3* Performance enhancements and bug fixes.
4* Created a new base class called SimpleEditor. Editor now extends SimpleEditor
5* Created 2 new Toolbar Buttons
6    YAHOO.widget.ToolbarButton - No requirement for Button or Menu
7    YAHOO.widget.ToolbarButtonAdvanced - Still Required Button and Menu
8
9    *All
10        1. [1423860] - [SF 1774823] Change text size removes selection highlight
11        2. [1487601] - [SF 1796897] Font size issue
12        3. [1508412] - [SF 1799379] setEditorHTML strips title attribute
13        4. [1528759] - [SF 1810162] [example] Link Options Window appears behind the editor
14            Added a config option "limitCommands" when set to true, the editor will not execute a command that is not bound to a button.
15
16        5. [1544149] - [SF 1808154] add non-editable snippets to YUI-RTE
17            Added a config option "allowNoEdit", when set to true the "_isNonEditalble method is called at the beginning of all event handlers to check if this element or
18                a parent element has the class yui-noedit (this.CLASS_NOEDIT) applied. If it does, then this method will stop the event and return true. The event handlers
19                will then return false and stop the nodeChange from occurring. This method will also disable and enable the Editor's toolbar based on the noedit state.
20
21        6. [1544160] - [SF 1808102] Keep the content of invalidHTML
22            If you set the value of a key in this.invalidHTML to "{ keepContents: true }", then the element will be replaced with a yui-non span to be filtered out when
23                cleanHTML is called. The only tag that is ignored here is the span tag as it will force the Editor into a loop and freeze the browser. However, all of
24                these tags will be removed in the cleanHTML routine
25
26        7. [1560982] - [SF 1818681] RTE converts input tags to emnput
27        8. [1508390] - [SF 1787357] Split into separate modules
28            Split the Editor into Editor and SimpleEditor. Also split out the execCommand support into several methods for easier overriding and extending.
29
30        9. [1508403] - [SF 1779516] Dirty flag for editor
31            You can now check the editorDirty property on the Editor instance. It will be default false and be set to true when something important happens.
32            You will need to manually change it back to false when you check it.
33
34    *Internet Explorer
35        1. [1508413] - [SF 1804028, 1810362] Omission of DocType at top of page
36            It appears that Internet Explorer doesn't like the page containing the Editor to not have a doctype if the page inside the editor does.
37                The Editor will now check for compatMode and if it is not in standards mode, it will omit the doctype from the editable area.
38               
39        2. [1528733] - [SF 1808818] IE6 reports security violation on secure pages
40        3. [1528766] - [SF 1810362] Will Not Work Without DTD header
41        4. [1496536] - yui editor indentation problem
42        5. [1465375] - [SF 1789702] RTE Image insertion creates timer error
43
44    *Firefox
45        1. [1492573] - Can not get focus on edit box in FF 1.5 on FreeBSD
46
47**** version 2.3.1 ***
48
49* Performance enhancements and bug fixes.
50
51    *All
52        1. [1406169] - Fixed Toolbar performance issues
53        2. [1406176] - You can now set the height and width of the editor after it has been rendered       
54        3. [1413456] - Group Labels can now be turned off after the editor has been rendered
55        4. [1413750] - Editor now supports delayed render (script block above the textarea markup)
56        5. [1416349] - cleanHTML now supports markup config options better (added xhtml option)
57        6. [1422334] - Added a link field to the image property editor
58        7. [1425540] - [SF 1775187] Fixed adding a link to an LI
59        8. [1406370] - [SF 1767246 ] Using Back button causes breaking behavior. Fixed.
60        9. [1435809] - Base href config fails when on a page with a port number. Fixed.
61
62    *Safari
63        1. [1390926] - Fixed Safari handleSubmit issue
64        2. [1433563] - Editor becomes unstable when rendered inside an element set to display: none (added show() method)
65
66    *Opera
67        1. [1396921] - Fixed clicking the Toolbar while typing loses insertion point
68        2. [1406700] - [SF 1767251] Background color can not be overridden in Opera.. Fixed.
69
70    *Gecko
71        1. [1411911] - [SF 1769657] RTE looks strange on Firefox when base.css - Fixed style collisions
72        2. [1433563] - Editor becomes unstable when rendered inside an element set to display: none (added show() method)
73
74    *Internet Explorer
75        1. [1396921] - Fixed clicking the Toolbar while typing loses insertion point
76
77
78**** version 2.3.0 ***
79
80* Beta release.
81
82* Known Issues
83    * All
84        1. Removed the menu for Create Ordered Lists, it now defaults to creating a simple OL with no type.
85     
86    * Safari
87        1. Bug #1390926 - Safari may not inject the editor's HTML into the text area when the config handleSubmit is set to true.
88            You can get around this with the following code (where comment is the id of the textarea):
89                YAHOO.util.Dom.setStyle('comment', 'visibility', 'hidden');
90                YAHOO.util.Dom.setStyle('comment', 'position', 'absolute');
91                YAHOO.util.Dom.setStyle('comment', 'display', 'block');
92                oEditor.saveHTML();
93                window.setTimeout(function() {
94                        YAHOO.util.Dom.get('comment').form.submit();
95                }, 200);
96
97            This issue will be fixed in a later release..
98        2. Unable to get the cursor position inside the editable area.
99            What this means is that when an image/object is inserted into the document
100            we have no way of knowing "exactly" where to put it. So we make an educated guess.
101            If they user clicked on an "element" (HTML Element) in the editor, then we will place
102            the newly inserted element directly after it in the DOM. If there was no element clicked
103            We will append the new element to the body.
104
105        3. Ordered/Unorder Lists are not support natively. So we have built a work around for this.
106            Most browsers will allow you to select a block of text and create a list out of it "automagically"
107            by inserting an LI around blocks that are separated by line breaks, BRs or Ps. In Safari, the
108            entire text block will be turned into the first LI of the list. The user can then place the cursor
109            at the beginning of each line, and backspace, then hit enter to create the new list item. There are some
110            use cases that this might fail.
111
112        4. Dragging and dropping of selections and images/objects is not supported.
113            Safari will do some weird things if the text in the editable area is selected and dragged and dropped.
114            We prevent this from happening to images inside of the editable area, but we can not prevent it for text.
115            Safari will also give unexpected results if text from another Safari window in selected, then dragged
116            into the editable area.
117
118    * Opera
119        1. Placing the cursor in the editor, then Shift Clicking to highlight will not work. The limitation appear to be in Opera.
120
121        2. Image resize is unavailable, due to limitations in the browser
122
123        3. Shortcut keys are not supported in this release.
124
125        4. Dragging and dropping of selections and images/objects is not supported.
126
127        5. Hitting the back button on the page will not reload the iframe.
128
129        6. Selecting the editable area, then hitting the shortcut keys for "Reload" will
130            cause the current page to be displayed inside the editable area.
131
132
133**** version 2.3.0 Peview Release Notes ***
134
135* The only server side resource required to run the editor, is the blankimage file.
136    The blankimage file is the temporary image loaded into the editor when you click the
137    "Insert Image" button in the toolbar.
138
139    This can be set using:
140
141    var myEditor = new YAHOO.widget.Editor('test', {
142        blankimage: 'MY_IMAGE_PATH'
143    });
144
145* There is a performance issue with Safari on a G4 computer. We will be working to get this resolved before the initial beta release.
Note: See TracBrowser for help on using the repository browser.