jquery - TinyMCE 4 links plugin modal in not editable -


i using tinymce4 editor inside boostrap modal dialog. when clicked on link icon opens new modal dialog box, displayed fine input areas not editable.

<div id="editing" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="mymodallabel" aria-hidden="true">     <form>     <label>       <span>description</span>       <div id="description"></div>     </label>      <form>  </div>    <script>     tinymce.init({     selector: 'div#description',     inline: false,     theme : "modern",     schema: "html5",     add_unload_trigger: false,     statusbar: false,     plugins: "link",     toolbar: "link | undo redo",     menubar: false  });     </script> 

enter image description here

any suggestions

thanks in advance

from https://github.com/tinymce/tinymce/issues/782

for jquery ui dialogs can this:

$.widget("ui.dialog", $.ui.dialog, {     _allowinteraction: function(event) {         return !!$(event.target).closest(".mce-container").length || this._super( event );     } }); 

this seems more generalized solution might able modify bootstrap:

$(document).on('focusin', function(e) {     if ($(e.target).closest(".mce-window").length) {         e.stopimmediatepropagation();     } }); 

Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -