This repository has been archived by the owner on Jul 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 92
/
CHANGELOG
50 lines (37 loc) · 2.24 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
*0.3*
* Removed iFrame support and transitioned to contentEditable. This drops
support for Firefox 2.
*0.2.1* (February 3, 2010)
* Added Editor#queryValueCommandState for testing custom query commands.
* Added execCommand delegates for fontSelection, fontSizeSelection,
backgroundColorSelection, backgroundColorSelected, alignSelection,
and alignSelected.
*0.2* (March 29, 2009)
* For performance reasons, automatic textarea saving is now disabled by
default. You can still reenable it, but it is recommended to bind the save
to the form's submit button.
* Requirements for the Toolbar#addButton have changed. The old options will
continue to work, but you no longer have to supply a name or handler if the
names are similar. So the label "Bold" will set the name to "bold" by
convention and invoke the buttonSelection handler on click.
* The toolbar class has also been refactored to make it easier to subclass.
Subclassing the Toolbar class will be the recommended way to customize the
default behavior. So the options hash from the Toolbar#initialize method has
been deprecated in favor of subclassing.
* The event system has been revamp so they behave more like their DOM counter
parts. In 0.1, 'wysihat:change' was fired anytime the contents was modified
or the cursor moved. Now the change event is fired only if the contents is
altered. This is emulates normal browser input field's onchange event. If you
still want to track any cursor movements, you can observe
"wysihat:cursormove". This is an extension to the standard set of DOM events.
It is fired anytime the cursor position is changed via mouse clicks or
keyboard navigation. Since typing in the editor causes the cursor to advance
it consequently fires anytime the contents of the editor are modified.
* To complement the built in commands, selection query helpers have been added.
Example, to check if the selected text is bold, use editor.boldSelected().
* A simple command and query registration API has been added to extend or
override built-in commands executed via "execCommand" or "queryCommandState".
You can register commands or query handlers by setting a key/value on
editor.commands or editor.queryCommands.
*0.1* (October 20, 2008)
* First public release