Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gojko
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
We have an employee whose last name is Null (2010)
(stackoverflow.com)
72 points
by
gojko
13y ago
|
35 comments
2.
▲
Let's break the agile testing quadrants
(gojko.net)
1 points
by
gojko
13y ago
|
0 comments
3.
▲
Writing “As a User” does not make it a user story
(gojko.net)
3 points
by
gojko
13y ago
|
0 comments
4.
▲
Usable Usability - checklist
(mindmup.com)
1 points
by
gojko
13y ago
|
0 comments
5.
▲
Scrum, velocity, and driving down the motorway the wrong way
(gojko.net)
1 points
by
gojko
13y ago
|
0 comments
6.
▲
How we solved our #1 product management problem
(gojko.net)
2 points
by
gojko
13y ago
|
0 comments
7.
▲
Mind maps with proper version control
(blog.mindmup.com)
4 points
by
gojko
13y ago
|
0 comments
8.
▲
Godaddy DNS down?
3 points
by
gojko
13y ago
|
2 comments
9.
▲
The perils of being the voice of reason
(productownersurvivalcamp.com)
1 points
by
gojko
13y ago
|
0 comments
10.
▲
How we're making online collaboration more effective
(blog.mindmup.com)
1 points
by
gojko
13y ago
|
0 comments
11.
▲
Ask HN: favourite testing catchphrases and idioms
1 points
by
gojko
13y ago
|
0 comments
12.
▲
Everyone on HN, thanks a million
30 points
by
gojko
13y ago
|
3 comments
13.
▲
by
gojko
13y ago
yes, we don't hook anything. i've not tried this, but you should be able to hook on to the paste event for that div (the div is really your markup, we don't do any magic shadow iframing)
14.
▲
by
gojko
13y ago
this does exactly that, sets a div to contenteditable=true, but also binds hotkeys for common operations, extends with toolbar support, provides filereader for drag&drop.
15.
▲
by
gojko
13y ago
we don't create a toolbar. It's up to you. so if you don't put buttons for that, they won't be able to do it. hotkeys on the keyboard are also configurable, you can just bind certain items so users won't be able to execute the other command
16.
▲
by
gojko
13y ago
could you check what content type the filereader reports when you upload from safari? I've just tried again with safari on OSX and it seems to work. perhaps I should detect the extension, not just content type...
17.
▲
by
gojko
13y ago
Firefox on OSX works fine... so it's a combination. I don't have a linux box handy to test, but it would be nice if you could see if keydown is the problem, and if so we'll change it.
18.
▲
by
gojko
13y ago
I think that's a bit harsh. First of all, we got it to the point where it's useful for us and shared it. If it's close to what would be useful to you but not 100% there, fork, extend and submit a pull request, that is how opensource works.
19.
▲
by
gojko
13y ago
It's not tested in IE, but we don't use any browserbspecific code (apart from chrome speech) so it might work just fine. For server uploads, this would be pretty easy as a callback.
20.
▲
by
gojko
13y ago
Inlines a data url using FileReader
21.
▲
by
gojko
13y ago
You can make it create paragraphs and headings by adding a button for the formatBlock command to your toolbar. Google for execCommand, all those things are supported out of the box.
22.
▲
by
gojko
13y ago
no, this is an input field with chrome speech enabled (<input type="text" x-webkit-speech>). The microphone icon you see is the right part of that field, and the text is transparent. We've done it like that because at the moment onl
23.
▲
by
gojko
13y ago
Thanks for reporting this. I didn't test under Linux as I don't have a linux box handy. We bind keyboard events to jquery keydown. Is it better to bind to something else for FF/Linux?
24.
▲
by
gojko
13y ago
can you give me a bit more info on "can't"? Did you try drag & drop or toolbar? what file type have you tried? We have a filter on content type in the editor, so only things read with content type image/* are inserted. Perhaps this is t
25.
▲
by
gojko
13y ago
:( thanks for letting me know, I've fixed it
26.
▲
by
gojko
13y ago
I've not tried this, but I believe this would come down to creating a button that calls insertHtml with the basic table strucure, and calling enableInlineTableEditing before that. We just pass calls to execCommand, anything that's supported
27.
▲
by
gojko
13y ago
thanks, it seems that's done the trick. I've republished the page
28.
▲
by
gojko
13y ago
fantastic. i'm looking forward to your pull requests :)
29.
▲
by
gojko
13y ago
some cleanup might be good, eg when you select everything using cmd+a, then delete, some browser leave a <br/> in the content. I didn't like forced sanitization in wysihtml5, so we added an optional method .cleanHtml - you can just
30.
▲
by
gojko
13y ago
I've replaced the hotlink, hopefully the new page will be up soon
More ›