How to use CKEditor in a Bootstrap Modal?

后端 未结 14 1400
名媛妹妹
名媛妹妹 2020-11-30 04:14

If I use the CKEditor plugin in an HTML page based on a Bootstrap template, it works great, however if I insert the editor on a Bootstrap Modal like this

<         


        
14条回答
  •  天涯浪人
    2020-11-30 04:52

    Just open /core/config.js in ckeditor files than change "baseFloatZIndex" variable

    baseFloatZIndex = 10000
    

    to

    baseFloatZIndex = 20000
    

    It will change the start "z-index" of your editor box and the popups.

提交回复
热议问题