Neil Jenkins
|
183091e4e1
|
Bias towards adding, not removing format.
editor.hasFormat(...) now only returns true if all text in the range has that
format.
|
2011-11-03 12:44:54 +11:00 |
|
Neil Jenkins
|
0f750d2a0e
|
Fix Range#get(Start|End)Block.
Was still returning the wrong result in certain situations (for example when the
start boundary was just before the end of a block).
|
2011-11-03 12:10:16 +11:00 |
|
Neil Jenkins
|
1792b66ac3
|
Normalise text nodes when setting initial HTML.
|
2011-11-03 12:09:39 +11:00 |
|
Neil Jenkins
|
e8a917f321
|
Fix Range#containsNode.
Not sufficient for node to be adjacent to range; must actually contain range.
|
2011-11-02 19:12:31 +11:00 |
|
Neil Jenkins
|
953ee3bfc7
|
Fix bug in FF on enter.
|
2011-11-02 18:46:45 +11:00 |
|
Neil Jenkins
|
a91df2db4c
|
Ensure range is valid after Range#_deleteContents.
|
2011-11-02 18:46:18 +11:00 |
|
Neil Jenkins
|
ae09554883
|
Don't try to merge <br>s or <img>s etc.
|
2011-11-02 16:43:42 +11:00 |
|
Neil Jenkins
|
9dcbf45f4a
|
Fix Range#get(Start|End)Block.
|
2011-11-02 16:31:46 +11:00 |
|
Neil Jenkins
|
f89490736e
|
Replace buggy TreeWalker implementations.
|
2011-11-02 14:02:18 +11:00 |
|
Neil Jenkins
|
7b000293d6
|
Fix bug in text cursor fixing in IE/Opera.
|
2011-11-02 11:55:08 +11:00 |
|
Neil Jenkins
|
1d5b841860
|
Fix bug in deleting all.
|
2011-11-02 11:54:58 +11:00 |
|
Neil Jenkins
|
110568350b
|
Bookmarking must not uncollapse a range.
|
2011-11-02 10:45:33 +11:00 |
|
Neil Jenkins
|
0d706180fe
|
Refactor cleaning code and merge blockquotes
|
2011-10-31 15:16:08 +11:00 |
|
Neil Jenkins
|
9aaefdf586
|
Fix bug in registering handler in Demo.
|
2011-10-31 13:52:51 +11:00 |
|
Neil Jenkins
|
f245cc0dba
|
Fix Range#get(Start|End)Block methods.
|
2011-10-31 13:08:51 +11:00 |
|
Neil Jenkins
|
b8e2b5fb81
|
Normalise <br>/<#text> on setHTML and paste
Make sure all the block level elements have either a <br> or an empty text node
in the right place, as required by the browser.
|
2011-10-31 13:07:41 +11:00 |
|
Neil Jenkins
|
72141fd670
|
Initial commit for public release.
|
2011-10-29 14:15:21 +11:00 |
|