12
我已经在引导模式中打开ckeditor,但格式和大小下拉不能正常工作。当我点击大小或格式下拉它立即打开和关闭,我读到它是引导模式ckeditor中的错误。我在网上找到了解决方案,但那不起作用。启动模式下的Ckeditor下拉问题(点击立即打开和关闭)
解决办法,我在网上找到,而不是工作: - :
$scope.emailMsgSetting = function(msgId, headerName) {
$ocLazyLoad.load({
name: 'emailSettingsModule',
files: ['/doc/jsp/portal/viewMessageSettings.js']
}).then(function() {
var url = makeURL("/doc/jsp/portal/viewMessageSettings.jsp?");
$scope.dataURL = url;
}, function(e) {
console.log(e);
});
}
JSP,我已经实现了CK编辑
<div class="col-sm-11 nopadright" ng-if="showckeditor">
<textarea ng-model="$parent.msgTypeBody" ck-editor insert-tag="strTagName" height="ckEditorheight" extra-plugins= "strTagName"></textarea>
</div>
$.fn.modal.Constructor.prototype.enforceFocus = function() {
modal_this = this
$(document).on('focusin.modal', function(e) {
if (modal_this.$element[0] !== e.target && !modal_this.$element.has(e.target).length &&
!$(e.target.parentNode).hasClass('cke_dialog_ui_input_select') &&
!$(e.target.parentNode).hasClass('cke_dialog_ui_input_text')) {
modal_this.$element.focus()
}
})
};
从那里我称之为JSP和地方CK编辑器JS
谢谢..
您使用的是什么版本的引导程序? – vickisys
@vickisys Bootstrap v3.2.0 – pise
从您的网站上的任何活动页面来检查它? –