So I created a component based snippet that simply renders to a link (<a href.="foo">bar</a>
)
When I now insert it in rich editor in the middle of some text, the texts before and after the snippet get automatically wrapped with <p> text </p>
. Even if I switch to code view and remove those <p>
s manually and save, they reappear.
Any chance to avoid this, as I need to render the snippet without any line breaking, but just in the flowing text?
(The use case is that I want to place Links in (tailor)Blog Posts, where the link targets can change over time and therefore I want to manage the link targets (and anchors) centrally, so that I dont have to find and edit all blog posts once such a link changes… So if there other options to achieve this than using snippets I am also very interested to hear)
Thank you!