[richfaces-issues] [JBoss JIRA] (RF-11457) Unexpected caret move in rich:editor with IE8 + MS IME
Brian Leathem (Updated) (JIRA)
jira-events at lists.jboss.org
Sat Oct 8 02:17:16 EDT 2011
[ https://issues.jboss.org/browse/RF-11457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Leathem updated RF-11457:
-------------------------------
Fix Version/s: 3.Future
> Unexpected caret move in rich:editor with IE8 + MS IME
> ------------------------------------------------------
>
> Key: RF-11457
> URL: https://issues.jboss.org/browse/RF-11457
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input, third-party
> Affects Versions: 3.3.1.SP3
> Environment: Windows7/XP
> IE8
> MS IME(Japanese)
> Reporter: Toshiya Kobayashi
> Fix For: 3.Future
>
>
> You can reproduce it with http://livedemo.exadel.com/richfaces-demo/richfaces/editor.jsf
> I just reproduced with Japanese IME, not sure how other languages work.
> - Toggle MS IME on
> - Enter "ほんぶん"
> - Press SPACE key to change it to "本文"
> -- Then the caret moves to the line head. Weird.
> - Enter "です"
> - "本文" disappears and only "です" remains.
> The issue is reproducible only when you write something for the first time to the empty text area. After that, the issue wouldn't happen.
> I'm not sure the details of how TinyMCE handles IME keyDown events but the root cause seems to me that TinyMCE doesn't generate <p> tag in the empty text area for IE8 while it does for FireFox and Chrome.
> A workaround is populating "<p/>" as the initial value for the rich:editor.
> Example)
> xhtml:
> {code}
> <rich:editor id="editor" width="400" height="300" viewMode="visual" value="#{editorBean.value}" ></rich:editor>
> {code}
> EditorBean:
> {code}
> private String value = "<p/>";
> {code}
> This is reproducible with pure TinyMCE 3.2 and the latest 3.4.6 still have a similar issue (The Behaviour is a bit different but <p> is not generated for IE8 yet).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list