You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by balingen tame <eu...@gmail.com> on 2009/04/25 05:23:01 UTC

tinymce textarea in a modal window not letting to type

I  am using tinymce text area in several pages, today I added this to a
wicket modal window, the   tinymce textarea shows up fine but when I type
nothing goes into it , its not disabled  , I can click on the editor
buttons, it does not take the mouse , please help me resolve this

Re: tinymce textarea in a modal window not letting to type

Posted by Gabriel Landon <gl...@piti.pf>.
I remember having the same problem on a project I've done last year.

Here's the code I'm using (I think that it's the "TinyMceAjaxSubmitModifier"
that is important) :

            final TextArea<String> textArea = new
TextArea<String>("property", getModel());
            textArea.add(new TinyMceBehavior(getTinyMCESettings()));
            add(textArea);

            // submit
            add(new IndicatingAjaxButton("submit") {
                /** serialVersionUID. */
                private static final long serialVersionUID = 1L;

                @Override
                protected void onSubmit(final AjaxRequestTarget varTarget,
final Form<?> varForm) {
                      modale.close(varTarget);
                }

                @Override
                protected void onError(final AjaxRequestTarget varTarget,
final Form<?> varForm) {
                    varTarget.add(varForm);
                }
            }.add(new TinyMceAjaxSubmitModifier()));

Regards,
Gabriel.

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4664314.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: tinymce textarea in a modal window not letting to type

Posted by Girts Ziemelis <gi...@gmail.com>.
I had similar problem and at the end it was easier to switch to 
ckeditor, which work fine in a modal window (so far tested only in 
development). There is no integration package for wicket AFAIK, but 
simple custom  integration for a specific use case is  simple.

On 02/07/2014 05:45 PM, jchappelle wrote:
> The original issue is pretty old but tinymce in a modal window worked in 1.5
> and it is not working in 6.13.0. I guess I'm going to have to redesign my
> pages to not use the tinymce in a modal window.
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4664309.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: tinymce textarea in a modal window not letting to type

Posted by jchappelle <jc...@4redi.com>.
The original issue is pretty old but tinymce in a modal window worked in 1.5
and it is not working in 6.13.0. I guess I'm going to have to redesign my
pages to not use the tinymce in a modal window.

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4664309.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: tinymce textarea in a modal window not letting to type

Posted by Andrea Del Bene <an...@gmail.com>.
Hi,

as the original issue is pretty old, I think nothing has done about it
lately. I will open an issue with the quickstart project and try to
solve it when I will have some time.
> I am having this same issue in wicket 6.13.0. Any fixes as of yet?
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4664214.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: tinymce textarea in a modal window not letting to type

Posted by jchappelle <jc...@4redi.com>.
I am having this same issue in wicket 6.13.0. Any fixes as of yet?

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4664214.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: tinymce textarea in a modal window not letting to type

Posted by fachhoch <fa...@gmail.com>.
I created a quick start  project,   first time tinymce editor shows up fine, 
second time cannot type into editor. myproject.zip
<http://apache-wicket.1842946.n4.nabble.com/file/n4663912/myproject.zip>  
Please advice.  should I create a bug report for this.

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4663912.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: tinymce textarea in a modal window not letting to type

Posted by fachhoch <fa...@gmail.com>.
here is my code trying   with tinymce and modalwindow





wicket  and tinymce 6.12.0



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4663886.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: tinymce textarea in a modal window not letting to type

Posted by fachhoch <fa...@gmail.com>.
Sorry for replying to this very old thread , I am having a similar issue,
before modalwindow.show I am constructing  new instance of my panel call
setContent  , so every time modalwindow.show is called it displays a new
instance of my panel,  can you please give me the script which  should be
appended to target for tinymce to work


this script is not complete.


--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4663884.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: tinymce textarea in a modal window not letting to type

Posted by Cristi Manole <cr...@gmail.com>.
Fixed

Just add the tinyMCE again after the modal is displayed

target.appendJavascript("tinyMCE.execCommand('mceRemoveControl',false,'" +
...

target.appendJavascript("tinyMCE.execCommand('mceAddControl',false,'" + ...


On Sat, Jul 4, 2009 at 4:01 AM, Cristi Manole <cr...@gmail.com>wrote:

> Hey,
>
> Did you manage to solve this? I'm facing the same problem - tinymce added
> to a modal (based on panel) works the first time, second time it is
> displayed nicely but cannot do anything with it (cannot focus so cannot
> type).
>
> Or anybody else?
>
> Thanks
>
>
> On Sat, Apr 25, 2009 at 6:23 AM, balingen tame <eu...@gmail.com>wrote:
>
>> I  am using tinymce text area in several pages, today I added this to a
>> wicket modal window, the   tinymce textarea shows up fine but when I type
>> nothing goes into it , its not disabled  , I can click on the editor
>> buttons, it does not take the mouse , please help me resolve this
>>
>
>
>
> --
> Cristi Manole
>
> Nova Creator Software
> www.novacreator.com
>



-- 
Cristi Manole

Nova Creator Software
www.novacreator.com

Re: tinymce textarea in a modal window not letting to type

Posted by Cristi Manole <cr...@gmail.com>.
Hey,

Did you manage to solve this? I'm facing the same problem - tinymce added to
a modal (based on panel) works the first time, second time it is displayed
nicely but cannot do anything with it (cannot focus so cannot type).

Or anybody else?

Thanks

On Sat, Apr 25, 2009 at 6:23 AM, balingen tame <eu...@gmail.com>wrote:

> I  am using tinymce text area in several pages, today I added this to a
> wicket modal window, the   tinymce textarea shows up fine but when I type
> nothing goes into it , its not disabled  , I can click on the editor
> buttons, it does not take the mouse , please help me resolve this
>



-- 
Cristi Manole

Nova Creator Software
www.novacreator.com