Hi Noam,
RichTextArea Formatter (RichTextAreaImplStandard) uses javascript execCommand for formatting RichTextArea content. Problem is that javascript execCommand with direction parameter not supported.
You have two choices:
1. Use javascript editors like TinyMCE that supports directionality (RTL/LTR). This method may increase size of your application.
2. Put RTL/LTR Button by yourself and by clicking on this buttons, wrap the html that set to RichTextArea in a span with RTL/LTR direction.
Second choice is easier but it will change direction of whole content of RichTextEditor (Not just selected section).
Ali Jalal.
RichTextArea Formatter (RichTextAreaImplStandard) uses javascript execCommand for formatting RichTextArea content. Problem is that javascript execCommand with direction parameter not supported.
You have two choices:
1. Use javascript editors like TinyMCE that supports directionality (RTL/LTR). This method may increase size of your application.
2. Put RTL/LTR Button by yourself and by clicking on this buttons, wrap the html that set to RichTextArea in a span with RTL/LTR direction.
Second choice is easier but it will change direction of whole content of RichTextEditor (Not just selected section).
Ali Jalal.
On Mon, Sep 19, 2011 at 9:45 AM, Noam Lampert <noam.lampert@gmail.com> wrote:
The toolbar in the rich text editor in the showcase example is missing the RTL and LTR buttons that allow the user to specify that the text is RTL.--Without these buttons, the text is not truly RTL. For instance even if entering Hebrew/Arabic text aligned to the right, bullets are on the left.Thanks,Noam
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment