禁用弹出工具Tinymce

发布于 2025-02-08 23:01:54 字数 954 浏览 0 评论 0原文

我想禁用此弹出窗口:

”在此处输入图像描述”

但是我不知道该怎么做,而Tinymce文档对我没有帮助。 它只有在我单击白线时才会发生。

这是我用来启动插件的代码:

tinymce.init({
  force_br_newlines : true,
  selector:'#'+id,
  content_style: 'div { margin: 10px; border: 5px solid red; padding: 3px; }',
  plugins: ['autolink','autoresize','codesample','link','lists', 'advlist','media','table','image','quickbars','codesample',
                'print','textpattern','emoticons','help','directionality', 'hr', 'quickbars', 'searchreplace', 'wordcount','quickbars', 'code'],
  toolbar: ' undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | outdent indent | aling | numlist bullist | image link print | hr | searchreplace wordcount | code'
                                
            });

I want to disable this popup :

enter image description here

But I don't know how to do it and the tinymce documentation doesn't help me.
It only happens when I click in a white line.

This is the code that I use to start the plugin:

tinymce.init({
  force_br_newlines : true,
  selector:'#'+id,
  content_style: 'div { margin: 10px; border: 5px solid red; padding: 3px; }',
  plugins: ['autolink','autoresize','codesample','link','lists', 'advlist','media','table','image','quickbars','codesample',
                'print','textpattern','emoticons','help','directionality', 'hr', 'quickbars', 'searchreplace', 'wordcount','quickbars', 'code'],
  toolbar: ' undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | outdent indent | aling | numlist bullist | image link print | hr | searchreplace wordcount | code'
                                
            });

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文