forked from timdown/rangy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
roadmap.txt
45 lines (40 loc) · 2.48 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
40
41
42
43
44
45
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
- [X] Check Range and Selection against WHATWG Range spec algorithms
- [X] Highlighter module. Review and rewrite existing.
- [X] Added select() method to range
- [X] Rename CSS class applier module to "class applier module"
- [X] Add handling for img and similar elements in class applier module
- [X] AMD support
- [X] Add getNativeTextRange() to selection for IE 11
- [X] Add Range setStartAndEnd(). Overloaded? eg. two args collapsed, three args (node, startOffset, endOffset),
four args (startNode, startOffset, endNode, endOffset) (consider this)
1.4
---
- [?] Consider range.restrict(node)
- [?] Consider filter option in createClassApplier() options object
- [ ] 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)
- [?] Some kind of jQuery integration module?
- [ ] Move IE <= 8 support into a separate optional module
- [ ] Add withinRange and withinNode options to move(), moveStart() and moveEnd() methods
- [?] Positions module
(http://stackoverflow.com/questions/4122315/how-to-find-xy-position-in-javascript-with-offset/4123495#4123495)
- [ ] Config module or something so that config can work with AMD. See PR #285
(https://github.com/timdown/rangy/pull/285)
- [ ] Move to one of the common testing libraries
- [ ] Update build not to use a fresh Git checkout
- [ ] Investigate shadow DOM (issue #307)
Possible features for some version
----------------------------------
- [?] 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)
- [ ] Add selection extend()? Don't think this is possible.
- [ ] Option in TextRange module for alternative ways to extract text for an element (see email from Bruce Augustine)