-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTODO
More file actions
139 lines (131 loc) · 5.51 KB
/
TODO
File metadata and controls
139 lines (131 loc) · 5.51 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
Interesting links
https://github.com/domchristie/to-markdown
https://github.com/evilstreak/markdown-js
https://github.com/coreyti/showdown
* [2/12] Further improvements
- [-] make work with din
- [X] remove jquery-ui
- [X] use bootstrap
- [X] better loading:
- [X] specify textile etc. from attribute
- [X] proper editor loading
- [X] just one entry point for div/textarea
- [X] handle source properties within the editor
- [X] properly convert html to textile
- [X] better extensibility
- [X] hook into toHTML (for conversion of uris in markupText)
- [X] hook after fromHTML
- [-] better editor loading
- [X] handle multiple init gracefully. Currently it stacks two editors on top of each other
- [ ] loading from textarea with an unknown mode, that is a select option, should work
- [ ] add spec for mupltiple inits
- [-] specs in chrome
- [X] fix most
- [ ] fix editor synch specs
- [ ] spec uri normalization
- [ ] improve editor closing
- [ ] write data attributes (otherwise a datamode change will not save)
- [ ] image floating
- [ ] left/right/center
- [ ] style fixes
- [ ] selects
- [ ] form in modal
- [ ] combobox should provide dropdown button
- [-] complete skeleton change
- [X] build
- [X] remove erb calls
- [X] fix dev.html / test.html
- [X] remove haml instances
- [ ] versioning
- [ ] move to amd/requirejs
- [ ] references
http://requirejs.org/docs/optimization.html
https://github.com/jrburke/almond
http://addyosmani.com/writing-modular-js/
- [-] Hub
- [X] create a class which handles the mode change in order to avoid
the same requests on mode change
- [ ] spec form submission, which currently won't work
- [ ] handle editor instances
- [ ] make sync work again
- [-] fix specs in Firefox
- [ ] general specs
- [ ] better async handling. is there a global jQuery trigger
- [X] general wysiwyg specs
- [X] list specs
- [X] config.current error (Border find error)
- [ ] fix specs in chrome again
- [ ] update docs
- [ ] flexible toolbar, which stays on top
- [ ] wysiwyg
- [ ] checkIfDeleteAll should work with holding a neutral key combined with a destructive action
shift + letter for example
- [ ] br tags should be top level, because Border expects that
or alternatively change behavior of the node search within Border
This would be the approach with a future since there might be other
cases of nested nodes ( b>i, i>b would be different now, but should
be the same)
- [ ] spec with selenium
- [ ] spec press enter
- [ ] in list
- [ ] pressing enter on empty list item should remove the list item and add a paragraph
- [ ] in heading
- [ ] at the end
- [ ] in the middle
- [ ] also in textile
- [ ] at the beginning of a list should not add a *#
- [ ] spec press shift enter
- [ ] in list
- [ ] spec press entf
- [ ] between lists
- [ ] between blocks
- [ ] spec backspace
- [ ] between lists
- [ ] between blocks
- [ ] spec double click
- [ ] double click on bold word should select just the bold tag
- [ ] spec checkIfDeleteAll
- [ ] normal keys
- [ ] keycombos (most should not delete the selection)
- [ ] spec keycombos
- [ ] strg-r should work
- [ ] show window in different awesome tab
- [ ] use existing window (not supported in ruby bindings)
- [ ] fire native events (not supported in awesome, try in kde or windows)
- [ ] clean and parse pasted html
- [ ] handle blocktags within lists
- [ ] h1. * item1
does not compile right
- [X] create heroku app
- [X] join should strip log lines (and comments)
* [0/1] Bugs
- [ ] set cursor between _a and click italic two times -> not the
same situation as before. Such two clicks should be idempotent
* [0/6] Consider
- [ ] should only setup sync between editors, that are initialized in the same collection
- [ ] Partial list change should either
change the whole list (currently wysiwyg)
change part off the list (currently textile and the norm)
- [ ] Delay checkState on mouseup/keyup
- [ ] turn off url display in bottom (consider accessability, gollum
has the same construct)
- [ ] double click should work: use hover to change contentEditable
value and remember selection
- [ ] do not focus the textarea after toolbar action, so that the current select
is still selected and can be changed via the arrow keys
- [ ] remove conflicting markup in textile in one line (means if you
select a string with parts of it already marked bold and click the
unselected bold button, the parts should be marked as bold as a whole)
- [ ] bold
- [ ] italic
* List of Firefox Bugs
- Selecting everything and pressing delete removes all content within the wysiwyg area
- doubleclicking a word does not select the Word itself but some
whitespace left of it too
- pressing enter at the end of a heading lands outside any tag
- justify* does only work with contentEditable = true on body
- double click in textarea does not select the word if there is an element with contentEditable = true on the page
* List of Chrome Bugs
- pressing enter at the end of a heading lands inside a div
- backspacing into a different paragraph type will keep the
style of the backspaced paragraph with span tags