How to use CKEditor in a Bootstrap Modal?

后端 未结 14 1331
名媛妹妹
名媛妹妹 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:48

    This is late to answer but doing css trick will solve the issue.

    Default z-index of Bootstrap modal is 10051 and default z-index of ckeditor dialog are 10010. The trick is just to increase ckeditor dialog z-index as below. put below code in your css file:

    .cke_dialog
    {
        z-index: 10055 !important;
    }
    

提交回复
热议问题