Using v4.0.2.1 and when i insert image using richt text editor i get p tags in the html around the image. When i edit raw html and remove the p tags around the image they come back. Do i need to update something in tinymce config?
I was having the same issue and saw nobody responded to your message. I believe I found the fix to removing the leading p tag in the richtext editor.
Find the file tiny_mce_src.js (File path from umbraco install: Root > umbraco_client > tinymce3)
Open the file in Notepad and do a text search for "forced_root_block". The first item that should come up is code under the Default editor config section.
p tag around image
Hello,
Using v4.0.2.1 and when i insert image using richt text editor i get p tags in the html around the image. When i edit raw html and remove the p tags around the image they come back. Do i need to update something in tinymce config?
Regards
Ismail
I was having the same issue and saw nobody responded to your message. I believe I found the fix to removing the leading p tag in the richtext editor.
Find the file tiny_mce_src.js (File path from umbraco install: Root > umbraco_client > tinymce3)
Open the file in Notepad and do a text search for "forced_root_block". The first item that should come up is code under the Default editor config section.
Change: forced_root_block : 'p',
To: forced_root_block : '',
Save and voila, leading p tag removed.
is working on a reply...