3 Replies Latest reply on May 7, 2009 5:40 AM by ilya_shaikovsky

    richEditor in modalPanel?

    stephanos

      Hi guys,

      short question: is anybody able to set the height of a richEditor residing inside of a modalPanel? - I can set the width, but not the height (neither through height-attribute nor the height-parameter). Outside of the panel it works...

      Any ideas?

      PS: tried 3.3.0.GA and 3.3.1.CR1

      Cheers,
      Stephan

        • 1. Re: richEditor in modalPanel?
          stephanos

          hm, there must be some side effects in my view - when I only use a modal and an editor it works flawlessly

          • 2. Re: richEditor in modalPanel?
            stephanos

            okay - I realized that I can properly set the height, but not under 100px for the editor, is there a way to make it even smaller?

            • 3. Re: richEditor in modalPanel?
              ilya_shaikovsky

              add domElementAttachment="parent" to modal panel. It will prevent it from moving to the top of the DOM before showing. we not changed tinyMCE scripts in any way. And unfortunatelly tiny Editor initialized wrong if its container moved within the DOM tree.

              Also after you defined this attribute you'll be able to use modal panel inside some parent forms. (liitation with its own form will not be actuall).