News for hackers. Stuff that matters.
Re:Our tiny jQuery/Bootstrap rich text editor is now open-so... by tambourine_man on Sunday April 07, 2013 @12:02PM (#5507598)
Looks nice, can't insert images with desktop Safari though (ML, latest).

Will it have a “code“ button (check generated HTML)?

Re:Our tiny jQuery/Bootstrap rich text editor is now open-so... by gojko on Sunday April 07, 2013 @12:06PM (#5507606)
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 too strict?

re "code" button, this would be trivial to implement but doesn't really belong in the widget. Just get the html out using jquery (it's your element) and show that instead of the element by passing through a formatter (or just jquery.text())

Re:Our tiny jQuery/Bootstrap rich text editor is now open-so... by tambourine_man on Sunday April 07, 2013 @01:30PM (#5507895)
Sorry for the lousy bug report, I hate when it happens to me. Neither drag n drop nor clicking on the "insert image" button displayed the image on the textbox. Tried both jpg and png. Works in Chrome and Firefox.

Yes, I know it should only take a few lines of code, but it's something I usually take for granted in a wysiwyg editor.

Re:Our tiny jQuery/Bootstrap rich text editor is now open-so... by gojko on Sunday April 07, 2013 @04:34PM (#5508639)
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...