orbeon bug: yui rich text editor missing xforms classes

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

orbeon bug: yui rich text editor missing xforms classes

Nathan Jones-2
The generated div for a YUI rich text control appears as:

<div class="first-child">

instead of:

<div class="xforms-control xforms-textarea xforms-incremental
xforms-mediatype-text-html xforms-mediatype-text">

If you set incremental="true" on the textarea then the class on the div
changes from the former to the latter after the content of the text area
is changed.

We have custom css which uses the xforms-control class so when we type
in a rich text area the addition of the class causes the control to
change visually.

This does not occur if we use the fck editor - in that case we get an
iframe element with the same expected classes described above.

As a workaround we can add those needed classes manually via javascript
after the document has loaded.

 - Nathan


--
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
Reply | Threaded
Open this post in threaded view
|

Re: orbeon bug: yui rich text editor missing xforms classes

Alessandro Vernet
Administrator
Nathan,

On Feb 10, 2009, at 9:01 PM, Nathan Jones wrote:

> We have custom css which uses the xforms-control class so when we  
> type in a rich text area the addition of the class causes the  
> control to change visually.

I noticed that in the past, and we could certainly copy your custom  
class in the Orbeon code that does the RTE initialization, so you  
don't have to worry about it. Still, I asked the question on the YUI  
list as there might be a way to have this done automatically. Let's  
see what we get from them, and feel free to follow-up on this in a  
little while if I forget about it :).

http://www.nabble.com/RTE%3A-copying-custom-class-to-div-created-by-the-RTE-td21959944.html

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: orbeon bug: yui rich text editor missing xforms classes

Nathan Jones-2
Alex,
> we could certainly copy your custom class in the Orbeon code that does
> the RTE initialization
Just to clarify, this is not our custom class but an Orbeon class which
our custom css depends on.

 - Nathan


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: orbeon bug: yui rich text editor missing xforms classes

Alessandro Vernet
Administrator
On Feb 11, 2009, at 1:13 PM, Nathan Jones wrote:

> Just to clarify, this is not our custom class but an Orbeon class  
> which our custom css depends on.

Alright; got it. This is now implemented, both for your classes and  
those added by Orbeon. You'll let us know how this works for you.

http://forge.objectweb.org/tracker/index.php?func=detail&aid=312725&group_id=168&atid=350207

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet



--
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