0
votes

I've just started using TinyMCE text editor and I'm a bit confused. 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. 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

1 Answers

1
votes

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.

2: Tiny has the option to load pictures directly in your editor