Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I need a quick help related to RTE functionality. When I am adding any html tag it is converted to below example as I don't want to have full HTML tag with head and body, my only requirement is to have the same tag which I added into RTE.
<!DOCTYPE html><html><head></head><body><p>text check</p></body></html>
Really appreciate, please help me how can I prevent to not to convert the "text check" under body tag.
Not sure exactly what you are trying to explain. The RTE does not insert doctype or html and body tags.
What exactly are you trying to add to the RTE?
By default text will have a paragraph tag wrapped around, is that what you mean?
Have you added any plugins to the tinyMceConfig.config?
(I have experienced the same issue.)
Check this post, seems it is a tinymce config setting
Thanks Huw, your shared link fix the issue.
The issue still same for me just I use below code to render the HTML
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted