gpt4 book ai didi

tinymce - 表里面有 div 按删除表我的 div 元素在 TinyMCE 中删除

转载 作者:行者123 更新时间:2023-12-03 17:23:15 25 4
gpt4 key购买 nike

我正在使用 TinyMCE
我在表格元素中创建了我的编辑器 div 元素(选择器)。然后我单击删除表删除 div 元素。

<table>
<tr>
<td> <div class="tinymce-body">
<p>Here are some of our customer&rsquo;s most common use cases for TinyMCE:</p>
<ul>
<li>Content Management systems (<em>e.g. WordPress, Umbraco</em>)</li>
<li>Learning Management Systems (<em>e.g. Blackboard</em>)</li>
<li>Customer Relationship Management and marketing automation (<em>e.g. Marketo</em>)</li>
<li>Email marketing (<em>e.g. Constant Contact</em>)</li>
<li>Content creation in SaaS systems (<em>e.g. Eventbrite, Evernote, GoFundMe, Zendesk</em>)</li>
</ul>
<p>And those use cases are just the start. TinyMCE is incredibly flexible, and with hundreds of APIs there&rsquo;s likely a solution for your editor project. If you haven&rsquo;t experienced Tiny Cloud, get started today. You&rsquo;ll even get a free trial of our premium plugins &ndash; no credit card required!</p> </div> </td>
</tr>
</table>

<script type="text/javascript">
tinymce.init({
selector: ".tinymce-body",
inline: true,
plugins: 'table',
toolbar: 'table'});
</script>
代码: https://fiddle.tiny.cloud/zhfaab/3
See Image
如何止步于此。只允许删除 ' 在 div 元素内 ' 创建的表。
谢谢。

最佳答案

仅供阅读本文的任何人使用,it's a bug

关于tinymce - 表里面有 div 按删除表我的 div 元素在 TinyMCE 中删除,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64609515/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com