TinyMCE dropdown not working in GWT Popup - gwt

I have encountered a problem, that the TinyMCE editor it's not working inside a GWT popup panel.
After some research I found similar problems with JQuery and BootStrap modal dialogs (see: TinyMCE modal in JQuery modal not editable).
Does anyone have any solution that works also in GWT?
Thank you!

Related

VS Code pressing tab does not autocomplete the tag

I am writing JSX tags but I have a problem when I type div and press on Tab it does not get completed to <div></div>. How I make the tab autocomplete the tag ?
found it. When I change the language to JavaScript React it work !!!

Customize TinyMCE Code Editor

I use TinyMCE (with react-tinymce moudle on npm). I need to customize the HTML code editor, so that it looks like the one on Wordpress. I think it should be possible as Wordpress use TinyMCE.
What makes the editor on Wordpress comfortable is we don't need to enter <br> or <p> on code editor. But when we switch to visual mode, it will add <br> or <p> automatically. That makes the text looks much cleaner and easier to read.
Another question is how to make the code editor not displayed in a popup. The main problem with the popup is it will be closed when we accidentally press esc or the cancel button. In addition, the Wordpress code editor also has a toolbar, while the default TinyMCE code editor is just a textarea on a popup.
The code plugin that comes with TinyMCE places the HTML code is a separate window - there in no configuration option that will allow the code to appear directly in the editor's main window.
If you'd like to submit this as a feature request, TinyMCE has a place for that:
https://community.tinymce.com/communityIdeasHome

Eclipse RCP - Modal dialog not on top in Linux

We have developed an Eclipse RCP. One of the dialogs (Jface dialog) is not appearing to be modal in Linux. There is another similar Jface dialog in the same RCP that works as modal.
Can anyone help me in this regard. I tried debugging and confirmed that the style of both the dialogs are same and parent shell is set as same for both.
I couldn't figure out why this dialog is not modal, whereas the other one appears fine. In Windows, both of them work fine as modal dialogs.
I am using Ubuntu(32 bit) for testing this.
Thanks in advance

ckeditor 4, versioning

I would like to know if it is possible give the possibility to load a previous version of the current content through a button in the toolbar.
The different versions of content are stored in a database.
The ideal behavior would be that clicking on the button in the toolbar, a popup dialog opens with a list of previous versions of the content. On click, the selected content is loaded into the editor.
I'm using php and mysql.
You have to implement a custom plugin that by ajax get the versions:
Creating a CKEditor Plugin with a Custom Dialog Window
CKEDITOR Plugin SDK

JQueryUI Dialog TinyMCE Issues

i am having some problems with the TinyMCE (V3.4.7) and JqueryUI (V1.8.14) Dialog
the following Fiddler link shows my example purfectly here
What i am trying to do is open a JqueryUI Dialog box with a TinyMCE WYSIWYG Editor in it.
the first time it displays properly. but if you click close and then reopen the box it will not show the Editor but just the TextArea.
Any help would be good. Thanks
Update
I did find out a solution that works for me, i have put up the working code here
What i am doing is check to see if the dialog has been opened before and if so just open it, then in the Open Function i test to see if the box contains an element with id_parent
if it does then this will be the editor (so do nothing) otherwise just init as usual.
it seems there is a problem with the JQuery Plug in as it does not remove the elements when you call tinyMCE.execCommand('mceRemoveControl',false,'editor_id') and when you re-add the editor it attaches to the first box available.
Problem here is that you need to shut down tinymce correctly in order to open an editor with the same id.
Use:
ed.execCommand('mceRemoveControl', false, 'editor_id');// editor_id equals the id of your textarea