这样可以解决冲突
$.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
               // add whatever conditions you need here:
            &&
            !$(e.target.parentNode).hasClass('cke_dialog_ui_input_select') && !$(e.target.parentNode).hasClass('cke_dialog_ui_input_text')) {
            modal_this.$element.focus()
         }
      })
  };

 

相关文章:

  • 2021-12-18
  • 2021-06-27
  • 2021-12-27
  • 2022-01-25
  • 2021-07-13
  • 2022-03-01
猜你喜欢
  • 2021-09-03
  • 2022-12-23
  • 2022-12-23
  • 2021-08-18
  • 2022-01-13
相关资源
相似解决方案