-
1. Re: onkeypress in rich:editor
ilya_shaikovsky Jan 12, 2010 9:07 AM (in response to abcd1)Explore please tinyMCE documentation. We just wrapped the widget to JSF component and not changed its functionality. So such customization information should be get there. -
2. Re: onkeypress in rich:editor
abcd1 Jan 14, 2010 8:23 AM (in response to ilya_shaikovsky)Thanks ilya
i wil check that
-
3. Re: onkeypress in rich:editor
demetrio812 Feb 12, 2010 2:21 PM (in response to abcd1)Hi!
I've just published a little article about "how to intercept the “return” key to submit a form" using rich:editor.
There is a full example and it is simple to adapt to your use case (just don't filter the return key into the javascript function).
Here it is the link:
Hope it is useful!Bye
Demetrio Filocamo
------
JBoss RichFaces 3.3 (book) - http://www.packtpub.com/jboss-richfaces-3-3
Learn RichFaces step by step developing a sample application.
-
4. Re: onkeypress in rich:editor
ilya_shaikovsky Feb 15, 2010 7:59 AM (in response to demetrio812)thanks! will add the link to wiki knowledgebase -
5. Re: onkeypress in rich:editor
demetrio812 Feb 15, 2010 10:02 AM (in response to ilya_shaikovsky)Thank you, I've also done another article with another tips about moving the caret of the editor at the end of the text after a reRender, can you look at it and see if the way I used to find the editor (adding "TextArea" to the id) is right or there is a better way to locate it in Javascript?
Here it is the address:
Thank you
Demetrio