I have a TinyMCE editor embedded in my page. The editor’s full screen option occupies the entire screen which is working fine. I also have a button which pops up a modal window using Twitter bootstrap and it works fine in normal view. But when tinymce editor is in fullscreen mode, the modal window is getting initialized but not visible.
And when I go out of fullscreen window, the modal window appears. So its getting shown but it is in the background. How do i make it appear even in fullscreen mode?
tinymce.init({
mode: "exact",
elements: "tinymce",
theme: "advanced",
plugins: 'ice,icesearchreplace,fullscreen',
theme_advanced_buttons1: "ec_error,fullscreen,strikethrough,|,bold,italic,underline,|,undo,redo,|,search,replace,|,ice_togglechanges,ice_toggleshowchanges,iceacceptall,icerejectall,iceaccept,icereject",
theme_advanced_buttons2: "",
theme_advanced_buttons3: "",
theme_advanced_buttons4: "",
theme_advanced_toolbar_location: "top",
theme_advanced_toolbar_align: "left",
fullscreen_new_window : false,
extended_valid_elements: "p,span[*],delete[*],insert[*]",
ice: {
user: { name: 'Email Coach', id: 11},
preserveOnPaste: 'p,a[href],i,em,b,span'
},
height: '500',
width:'100%'
});
TinyMCE’s
#mce_fullscreen_containerisz-index: 20000;Bootstrap’s
.modalisz-index: 1050;and.modal-backdrop(background fading) isz-index: 1040;So, raise
z-indexof your modal window over 20000