I wrote some macro which adds a link to a usercontrol. If I add this via the TinyMCE it works but after saving it a second time there is everytime put a <p> arround which i do not need. I want the link to appear on the same position it was added.
How can i remove the Paragraph which is put above the macro after saving it the first time?
It's a well known annoying behaviour. I'm not sure why it happens and that the possible fix could be. But if you, after you hit save, click the "HTML" button you can manually remove it by deleting the emtpy <p></p> element from the source and hit "update". Remember to save and publish.
TinyMCE paragraph problem on Macros
Hello,
I wrote some macro which adds a link to a usercontrol. If I add this via the TinyMCE it works but after saving it a second time there is everytime put a <p> arround which i do not need. I want the link to appear on the same position it was added.
How can i remove the Paragraph which is put above the macro after saving it the first time?
Thanks
Hi Dominik
It's a well known annoying behaviour. I'm not sure why it happens and that the possible fix could be. But if you, after you hit save, click the "HTML" button you can manually remove it by deleting the emtpy <p></p> element from the source and hit "update". Remember to save and publish.
/Jan
Hi Dominik
Maybe you can use this package: http://our.umbraco.org/projects/website-utilities/-remove-empty-paragraph-tags-from-tiny-mce
/Kim Andersen
Hello,
I just tryed the package but it does not solve this problem. Also removing the <p> manually is not a solution i can use.
I think the problem is that umbraco puts a div arround the macro which is not allowed inside a paragraph. Is it possible to remove the div?
It would be great if I can fix this "issue" so i can paste a link which a macro generates inside a text without a linebreak.
Thanks
Hi dominik
Di you ever solve this..?
Best,
Moriten
is working on a reply...