dorsetdigital

You should be able to do it with a config option by the look of it

dorsetdigital

https://stackoverflow.com/questions/13841986/tinymce-adding-p-tags-automatically

Show 1 attachment(s)
Stack Overflow  
tinymce adding p tags automatically?

Im using tinymce and saving it to a database. When I edit the saved content using tinymce and save again, it inserts a p tag at the beginning. Editing the content over and over again leaves a lar...

Hide attachment content
dorsetdigital

Yeah, I think something is screwy on this site... I've tried both those methods, and still get weird results.

dorsetdigital

I know what you're saying, but in my experience, highly-targeted intelligent attacks like that are few and far between

dorsetdigital

Or they'll just launch an attack with every vector in the database

dorsetdigital

I tend to think that anyone who cares enough to try and work it out, can probably work it out

dorsetdigital

It's a bit like disabling the right mouse button in a browser window to stop people stealing your images 🙂

dorsetdigital

There's no security issue. If you're distributing the code, you're distributing it

dorsetdigital

So git only has the source, production only has the dist. Dev stages have both.

👍 (1)