This content has been marked as final.
Show 5 replies
-
1. Re: rich:editor, modal panel and mozilla
ilya_shaikovsky Dec 4, 2009 10:01 AM (in response to kalex)It's known issue. And caused by the fact that editor failed to initialize fine when changes the DOM tree position. And our modal panel repositioned to body on opening by default because of some possible problems with overlapping relatively positioned elements. So use domElementAttachment="parent" at modal panel.
-
2. Re: rich:editor, modal panel and mozilla
nimo22 Dec 5, 2009 8:45 PM (in response to kalex)hello,
got the same problem, I use domElementAttachment="parent" - this does not render the editor:<ui:composition> <rich:modalPanel domElementAttachment="parent"..> <rich:editor ../> </rich:modalPanel> </ui:composition>
using this. all works fine:<ui:composition> <rich:editor rendered="false" ../> <rich:modalPanel domElementAttachment="parent"..> <rich:editor ../> </rich:modalPanel> </ui:composition>
so you see, I have to put a additiona rich:editor outside of rich:modalPanel, to get the rich:editor inside of my modalPanel to work.
Another thing is, when using not domElementAttachment="parent", then rich:editor renders within the modalPanel, but I cannot type any words into the editor as something blocks - very odd..
I use the actual rf 3.3.2 SR1. -
3. Re: rich:editor, modal panel and mozilla
nbelaevski Dec 6, 2009 5:30 PM (in response to kalex)so you see, I have to put a additiona rich:editor outside of rich:modalPanel, to get the rich:editor inside of my modalPanel to work.
When rich:editor is added by AJAX it is not able to load its resorces, this do the trickAnother thing is, when using not domElementAttachment="parent", then rich:editor renders within the modalPanel, but I cannot type any words into the editor as something blocks - very odd..
That's a known issue. Usage of "domElementAttachment" is a workaround for it. -
4. Re: rich:editor, modal panel and mozilla
nimo22 Dec 6, 2009 6:07 PM (in response to kalex)hello nick,
When rich:editor is added by AJAX it is not able to load its resorces, this do the trick
nice trick, right:)
So it is not possible to load its resorces when the editor is called via ajax?
If so, then it would be fine to tell this trick via rf-manual under rich:editor. -
5. Re: rich:editor, modal panel and mozilla
nbelaevski Dec 7, 2009 6:31 AM (in response to kalex)So it is not possible to load its resorces when the editor is called via ajax?
If so, then it would be fine to tell this trick via rf-manual under rich:editor.
I thought it's there. Please file documentation RFC if not.