TinyMCE 插件创建表行
有没有办法为tinymce创建一个插件,根据用户在输入框中输入的内容创建自定义HTML布局以创建HTML?
例如,目前我使用“模板”插件创建此示例 HTML,用户必须复制/粘贴 HTML 以获得他想要的列表项数量:
<ul>
<li><strong>Attribute Name</strong> Attributes description.</li>
<li><strong>Attribute Name</strong> Attributes description.</li>
</ul>
我想将类似的内容添加到弹出插件中,该插件会自动为用户插入的每个属性生成
。 
Is there a way to create a plugin for tinymce that creates a custom HTML layout based on what the user enters into input boxes to create the HTML?
For example at the moment I use the "template" plugin which creates this example HTML and the user has to copy/paste the HTML for how ever many list items he wants:
<ul>
<li><strong>Attribute Name</strong> Attributes description.</li>
<li><strong>Attribute Name</strong> Attributes description.</li>
</ul>
I would like to add something like this to a popup plugin which automatically generates the <li>
for each of the attributes that the user inserts.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不知道有这样的插件。看起来你必须自己开发一些东西。您可以从这里开始:http://www.tinymce.com/wiki.php/Creating_a_plugin
I do not know of such a plugin. Looks like you will have to develop something on your own. You may start here: http://www.tinymce.com/wiki.php/Creating_a_plugin