Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • David F. Hill 122 posts 242 karma points
    Feb 27, 2014 @ 01:21
    David F. Hill
    0

    Can't insert macro in RTE without <p> tags getting created.

    Hello Umbraco Colleagues,

    I'm having an issue related to macros in Umbraco ver 7.0.2.

    The purpose of the macro is to create a hyperlink.

    Whenever the macro is inserted in the RTE, the current paragraph is ended, the link is created, then a new paragraph is started.

    The resulting html looks like this:

    <p>This is intended to be a single paragraph with this&nbsp;</p>
    <a href="http://example.com">Example</a>
    <p>hyperlink in the middle of the sentence.</p>

     

    The users need it to look like this:

    <p>This is intended to be a single paragraph with this <a href="http://example.com">Example</a> hyperlink in the middle of the sentence.</p>

     

    Any suggestions for creating/inserting a macro that generates a link within a single paragraph?

    Cheers,
    David

Please Sign in or register to post replies

Write your reply to:

Draft