When creating a macro in the RTE (TinyMCE in 4.7.2) it it automatically set outside the current paragraph due to TinyMCE closing the p-tag when Umbracos Marco-div is inserted, and re-opening the p-tag again after the macro-div.
Example:
Original paragraph:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a lacus non mi feugiat gravida. Quisque aliquet scelerisque viverra.
I want to insert an inline macro:
Lorem ipsum dolor sit amet, <macro content> consectetur adipiscing elit. Donec a lacus non mi feugiat gravida. Quisque aliquet scelerisque viverra.
But the result is:
Lorem ipsum dolor sit amet,
<macro content>
consectetur adipiscing elit. Donec a lacus non mi feugiat gravida. Quisque aliquet scelerisque viverra.
Inline macro in RTE
When creating a macro in the RTE (TinyMCE in 4.7.2) it it automatically set outside the current paragraph due to TinyMCE closing the p-tag when Umbracos Marco-div is inserted, and re-opening the p-tag again after the macro-div.
Example:
Original paragraph:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a lacus non mi feugiat gravida. Quisque aliquet scelerisque viverra.
I want to insert an inline macro:
Lorem ipsum dolor sit amet, <macro content> consectetur adipiscing elit. Donec a lacus non mi feugiat gravida. Quisque aliquet scelerisque viverra.
But the result is:
Lorem ipsum dolor sit amet,
<macro content>
consectetur adipiscing elit. Donec a lacus non mi feugiat gravida. Quisque aliquet scelerisque viverra.
Are there any fix for this ?
Hi,
it will work when you use a div-tag instead of the p-tag. I don't know if it's suitable in your case.
Matthias
There isn't a way around the div tags that are placed around the macro, but you could probably use some css to display that div inline with the text.
is working on a reply...