How can I stop tinymce from adding <!DOCTYPE html><html><head></head><body> to everything I enter?
html, javascript, php, tinymce
Solution
maybe this can help , it's when i have add the plugin : `fullpage` , add the properties `button`
or hold of a plugin called `FullPage.js` for TinyMCE.
hope this will help you.
Problem
I am using TinyMCE as the editor for a field in my database. When I use it and add the text "abc" then this is what gets stored in the database: ``` <!DOCTYPE html><html><head></head><body><p>abc</p></body></html> ``` How can I stop TinyMCE from adding everything around the `<p>` tags?