GetmeUK/ContentTools

Inspector bar doesn't show embedded HTML elements when wrapped with paragraph

john3parker opened this issue · 1 comments

ContentTools isn't showing element tags embedded within a paragraph "p" element. In the attached image, there's an anchor "a" tag with bold text "b" with in a paragraph. The inspector doesn't show the "a"or "b" tags. See the attached image for example. It does work properly with table, tbody, tr, td tags.

I'm interested to apply a class style to the tag to make it appear as a call-to-action button. Any assistance to help resolve this would be much appreciated!

Screenshot from 2023-03-01 09-22-29

After reviewing the source code, I understand why the inspector doesn't show the embedded tags within a "p" tag. I opted to build my own custom tools to set the class styles. Works perfectly. Thank you for a great API and documentation!