News for hackers. Stuff that matters.
Re:Our tiny jQuery/Bootstrap rich text editor is now open-so... by gojko on Sunday April 07, 2013 @05:16PM (#5508801)
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 commands unless they open a javascript console and call doc.executeCommand manually (but then again, that's difficult to prevent for other editors)
Re:Our tiny jQuery/Bootstrap rich text editor is now open-so... by maaaats on Monday April 08, 2013 @11:18AM (#5512210)
What if one copy-pastes in stuff that's not supposed to be there? With wysihtml5 it will clean up based on what's allowed. With yours, I believe I will need to do that manually?
Re:Our tiny jQuery/Bootstrap rich text editor is now open-so... by gojko on Monday April 08, 2013 @02:02PM (#5513370)
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)
Re:Our tiny jQuery/Bootstrap rich text editor is now open-so... by maaaats on Monday April 08, 2013 @03:12PM (#5513800)
Thanks for your replies. :)