Hi, I have an issue with the richtext editor. In my
application, I’m printing the text inside the rich text editor using
iText and my users wants the print out to be in Arial 12 format. Since the editor doesn’t
have font size 12, user copy Arial 12 formatted text to the rich text editor. <xforms:textarea
ref="instance('freetext')/textarea" mediatype="text/html">
<xforms:label></xforms:label> </xforms:textarea> Now the issue is, when user copy an Arial 12 formatted
text to this rich text editor, the editor doesn’t always take them as
Arial 12, most of the time it takes as Arial 8. Please help to resolve this issue. The orbeon version we are using is 3.6.0 Thanks in advance, Jency -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
In Orbeon Forms 3.6, I believe we still used FCKeditor by default. We
have since moved to the YUI Rich Text Editor. I assume that copy/paste is dependent on the FCKeditor implementation and/or on the browser implementation (rich text in browsers is a messy business). You could try to take the HTML pasted in the editor and transform it on the server. This is easier with 3.7.x because we already have a built-in XSLT transformation to clean-up the HTML produced. But with 3.6, that will be harder. -Erik On Wed, Jul 29, 2009 at 9:12 PM, Jency Thomas<[hidden email]> wrote: > Hi, > > > > I have an issue with the richtext editor. In my application, I’m printing > the text inside the rich text editor using iText and my users wants the > print out to be in Arial 12 format. Since the editor doesn’t have font size > 12, user copy Arial 12 formatted text to the rich text editor. > > > > <xforms:textarea ref="instance('freetext')/textarea" mediatype="text/html"> > > <xforms:label></xforms:label> > > </xforms:textarea> > > > > > > Now the issue is, when user copy an Arial 12 formatted text to this rich > text editor, the editor doesn’t always take them as Arial 12, most of the > time it takes as Arial 8. > > Please help to resolve this issue. > > > > The orbeon version we are using is 3.6.0 > > > > Thanks in advance, > > Jency > > > > > > -- > You receive this message as a subscriber of the [hidden email] mailing > list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Thanks Erik. As a work around, we are doing the transformation in the server.
Thanks Jency -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Erik Bruchez Sent: Friday, July 31, 2009 12:46 AM To: [hidden email] Subject: [ops-users] Re: font formatting in rich text editor In Orbeon Forms 3.6, I believe we still used FCKeditor by default. We have since moved to the YUI Rich Text Editor. I assume that copy/paste is dependent on the FCKeditor implementation and/or on the browser implementation (rich text in browsers is a messy business). You could try to take the HTML pasted in the editor and transform it on the server. This is easier with 3.7.x because we already have a built-in XSLT transformation to clean-up the HTML produced. But with 3.6, that will be harder. -Erik On Wed, Jul 29, 2009 at 9:12 PM, Jency Thomas<[hidden email]> wrote: > Hi, > > > > I have an issue with the richtext editor. In my application, I'm printing > the text inside the rich text editor using iText and my users wants the > print out to be in Arial 12 format. Since the editor doesn't have font size > 12, user copy Arial 12 formatted text to the rich text editor. > > > > <xforms:textarea ref="instance('freetext')/textarea" mediatype="text/html"> > > <xforms:label></xforms:label> > > </xforms:textarea> > > > > > > Now the issue is, when user copy an Arial 12 formatted text to this rich > text editor, the editor doesn't always take them as Arial 12, most of the > time it takes as Arial 8. > > Please help to resolve this issue. > > > > The orbeon version we are using is 3.6.0 > > > > Thanks in advance, > > Jency > > > > > > -- > You receive this message as a subscriber of the [hidden email] mailing > list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |