Hi, I've seen a number of issues regarding inline marco in rte. Has anyone got this working? The problem is I cant add a macro within a p tag as the macro is a block element. On frontend the macro will be place below the p tag and out of flow.
Hi Allan, hm, I'm not sure that would work for us. I have a single line macro that I would like the editor to be able to place anywhere in one of the rte texts. Or perhaps I'm misunderstanding you?
Inline macro in rte?
Hi, I've seen a number of issues regarding inline marco in rte. Has anyone got this working? The problem is I cant add a macro within a p tag as the macro is a block element. On frontend the macro will be place below the p tag and out of flow.
/ David
Could you create the macro with the paragraph tag inside it?
You could add fields to the macro indicating 'text before' and 'text after' to complete the paragraph. Just a thought...
Hi Allan, hm, I'm not sure that would work for us. I have a single line macro that I would like the editor to be able to place anywhere in one of the rte texts. Or perhaps I'm misunderstanding you?
/ Best regards
Same problem here. :(
I have some kind of solution see here -> https://our.umbraco.com/forum/using-umbraco-and-getting-started/101363-my-solution-to-inline-macro-in-grid-feedback-wanted
But I have a feeling it could be improved ...
Inline macro is supported in Umbraco 11 and on. https://docs.umbraco.com/umbraco-cms/reference/templating/macros/managing-macros#enable-inline-macro
is working on a reply...