我遇到了与如何在Bootstrap模态框中使用CKEditor?中指出的相同问题。但问题是修复方法似乎不再有效。
我已经在http://jsfiddle.net/7zDay/16/上发布了一个演示(包含推荐的修复),请尝试使用数学编辑器(使用sigma图标)并您会发现它不允许您在框中输入。如有任何帮助,将不胜感激。
<button type="button" data-toggle="modal" data-target="#modalAddBrand">Launch modal</button>
<div class="modal fade" id="modalAddBrand" tabindex="-1" role="dialog" aria-labelledby="modalAddBrandLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title" id="modalAddBrandLabel">add</h4>
</div>
<div class="modal-body">
<form>
<textarea name="editor1" id="editor1" rows="10" cols="80">
This is my textarea to be replaced with CKEditor.
</textarea>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button id="AddBrandButton" type="button" class="btn btn-primary">Save</button>
</div>
</div>
</div>
</div>
我已经在http://jsfiddle.net/7zDay/16/上发布了一个演示(包含推荐的修复),请尝试使用数学编辑器(使用sigma图标)并您会发现它不允许您在框中输入。如有任何帮助,将不胜感激。