【问题标题】:Summernote - How do you set the data container for the popovers?Summernote - 你如何设置弹出框的数据容器?
【发布时间】:2017-12-24 08:51:05
【问题描述】:

我正在使用 Summernote (https://github.com/summernote/summernote)

有没有办法将与引导程序一起工作的弹出框、工具提示等设置在容器内而不是body

我可以看到有人已经提到了这个问题,但没有提到解决方案。 https://github.com/summernote/summernote/pull/2036

非常感谢。

【问题讨论】:

    标签: twitter-bootstrap summernote


    【解决方案1】:

    我自己有一个被骗的解决方案,如果summernote真的自己做的话,那就太好了。

    //Wrap popovers into a container
    $('.popover.bottom').ready(function(){
        $('.popover.bottom').wrapAll('<div class="exit_container" />');
    });
    

    但是,由于工具提示是动态创建的,因此不可能这样做。

    【讨论】:

      猜你喜欢
      • 2011-12-25
      • 1970-01-01
      • 2019-12-02
      • 2021-09-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-01-26
      相关资源
      最近更新 更多