[英]TinyMCE text editor and default HTML
I've just started using TinyMCE text editor and I'm a bit confused. 我刚刚开始使用TinyMCE文本编辑器,我有点困惑。 I googled my problem, but I haven't found any answer, so I'll ask you.
我用谷歌搜索了我的问题,但没有找到答案,所以我会问你。 Is it possible to set default HTML elements to TinyMCE editor, which are NOT possible to delete.
是否可以将无法删除的默认HTML元素设置为TinyMCE编辑器。 What I mean:
我的意思是:
<textarea id="tinyMCE">
<div id="impossible-to-delete-default-html">
Put some changeable HTML like <p>, <a>, <span> etc ...
</div>
</textarea>
What is more, when I want to insert images in my text, should I first upload them from somewhere else and then use them, or there is plugin which allows me to upload them directly? 此外,当我想在文字中插入图片时,应该先从其他位置上传图片然后再使用它们,还是有插件可以直接上传图片? Thanks in advance.
提前致谢。 :)
:)
1: I usually set default html in the page itself and load the TINYY text between it or after it as i please, then im sure the user can do nothing wrong. 1:我通常会在页面本身中设置默认html,并根据需要在页面之间或之后加载TINYY文本,然后确保用户不会做任何错误。
2: Tiny has the option to load pictures directly in your editor 2:Tiny可以选择直接在编辑器中加载图片
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.