forked from timdown/rangy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
roadmap.txt
39 lines (34 loc) · 2.15 KB
/
roadmap.txt
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
1.3
---
- [X] TextRange module
(http://groups.google.com/group/rangy/browse_frm/thread/bd7a351e63a16474)
- [X] Allow Window, Document, iframe and DOM node as params to range/selection creation methods
- [X] Add rangy.features.implementsWinGetSelection and rangy.features.implementsDocSelection
- [ ] Either a utils module or an FAQ page with code snippets for common use cases, including:
- [X] Simple selection save/restore (bookmark?) (is this necessary?)
- [ ] Insert HTML
(http://stackoverflow.com/questions/2213376/how-to-find-cursor-position-in-a-contenteditable-div/2213514#2213514)
- [X] Add Range setStartAndEnd(). Overloaded? eg. two args collapsed, three args (node, startOffset, endOffset),
four args (startNode, startOffset, endNode, endOffset) (consider this)
- [ ] Check Range and Selection against WHATWG Range spec algorithms
- [?] Consider range.restrict(node)
- [?] Consider filter option in createClassApplier() options object
- [X] Highlighter module. Review and rewrite existing.
- [X] Added select() method to range
- [X] Rename CSS class applier module to "class applier module"
- [?] Add handling for img and similar elements in class applier module
- [ ] AMD support. How does this work with Rangy's modules?
- [X] Add getNativeTextRange() to selection for IE 11
- [ ] Add withinRange and withinNode options to move(), moveStart() and moveEnd() methods
1.4
---
- [?] Commands module with basic inline commands (bold, italic, colour, font face, font size, background colour, etc.)
(http://stackoverflow.com/questions/2887101/apply-style-to-range-of-text-with-javascript-in-uiwebview/2888969#2888969)
- [?] More commands (block? Insert line break? Think about this, don't want to build a WYSIWYG editor)
- [?] Some kind of jQuery integration module?
- [ ] Move IE <= 8 support into a separate optional module
Possible features for some version
----------------------------------
- [?] Positions module
(http://stackoverflow.com/questions/4122315/how-to-find-xy-position-in-javascript-with-offset/4123495#4123495)
- [ ] Add selection extend()? Don't think this is possible.