Adding TinyMCE Pop-up/Modal Dialogue Boxes issue

I am trying to add a TinyMCE editor to some of the Pop-up/Modal Dialogue boxes but have found an issue with the font properties.  For example, I added TinyMCE to the Files Edit Modal box.  However, the Styles, Format, Font Family, Font size, Font colour, and Font background colour all caused the modal box to close if they are selected.  All other buttons on the editor seem to work without issues.  Is there anyone that can give some suggestions on why this is happening and how to correct the issue?

Geeks, making the world a better place
Quote · 13 Mar 2013

Did you tried looking in the console?

so much to do....
Quote · 13 Mar 2013

 

Did you tried looking in the console?

OK, call me thick as a brick Embarassed; can you explain?

Geeks, making the world a better place
Quote · 13 Mar 2013

Yes, I do have my thick as a brick moments.  I know what  you mean by console LOL.

Geeks, making the world a better place
Quote · 13 Mar 2013

I am not seeing anything in the console.  However, I noticed just before the modal box closed that the "font family" was applied to the text.

Geeks, making the world a better place
Quote · 13 Mar 2013

 can you pm me the link to the page and login if required. I can't understand like this :(

I am not seeing anything in the console.  However, I noticed just before the modal box closed that the "font family" was applied to the text.

 

so much to do....
Quote · 14 Mar 2013

This is part of a hack I have done.  See this thread (you replied in it as well): http://www.boonex.com/forums/?action=goto&my_threads=1#topic/Files-Edit-Form-Stripping-HTML.htm

I noticed that on any modal window where I have added a tinymce editor to; even third party modules using a modal window for input, that the modal window will close when the Styles, Format, Font Family, Font size, Font colour, and Font background colour are used.  All other buttons on the toolbar does not cause the modal window to close; or at least all I have tested.  During a test where you told me to watch the console, I did noticed that just before the modal window closed, the font-family selection was applied to the text in the editor window.

I don't know enough about javascript and Dolphin modal windows to be able to gain traction on this one.  For my files description I simply left out the above mention TinyMCE selectors but that does not address why it is happening.

I don't have this set up on the test server at the moment.  When I have time, I could add it and then create an account for you to test with.

Geeks, making the world a better place
Quote · 14 Mar 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.