I am using umbraco 4.7. I have created a razor macro
to insert telephone number in my rich text editor. Whenever i add the
macro in the RTE, <p>
tags are added around the macro automatically. I tried removing the extra <p>
tags by editing the html but as soon as I click on save, the <p>
tags are added again. I tried installing this package
but it didn't solve my problem. I have tried setting the <TidyEditorContent>False</TidyEditorContent>
and checking the forced_root_block : 'p' but none of these could solve the problem.
Any pointers to solve this issue?
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/21036-p-tag-getting-added-to-inline-macro