From the walkthrough:
"Make some changes to the text, using the styles. For instance, type some text and choose the Header style...If you take a look at the underlying HTML, you will see that an H4 element has been added."
I'm unable to repro that behavior, for instance I've added all my header tags, but when I select text and then select H1 from the style dropdown, no markup is added. What's the expected bevahior here, can anyone else see markup added based on a style selection?
Problem solved, I'd pasted in as the style alias the title, which was H1. Lowercase the alias and it behaves as expected ie wraps selected text in the tag correctly.
Adding markup via stylesheet classes in RTE's
Hello,
I've followed the instructions here (https://umbraco.tv/videos/umbraco-v7/implementor/fundamentals/stylesheets-and-javascript/setting-up-rte-styles/documentation/) to expose a linked stylesheet in the RTE. The walkthrought seems to indicate when selecting text and applying a style to a block level element, it would add the tag specified to the markup automatically.
From the walkthrough: "Make some changes to the text, using the styles. For instance, type some text and choose the Header style...If you take a look at the underlying HTML, you will see that an H4 element has been added."
I'm unable to repro that behavior, for instance I've added all my header tags, but when I select text and then select H1 from the style dropdown, no markup is added. What's the expected bevahior here, can anyone else see markup added based on a style selection?
Problem solved, I'd pasted in as the style alias the title, which was H1. Lowercase the alias and it behaves as expected ie wraps selected text in the tag correctly.
is working on a reply...