0

I am trying to insert <header>, <polygon> and <path> tags into my HTML Editor component within a community, however I get an error highlighting these tags are unsupported.

Is there anyway I can add these tags?

1 Answer 1

1

As far as the support for HTML5 components go, 2/3 of your tags do not seem supported.

  • <polygon>
  • <path>

For a complete list of suported tags, you can check forcedotcom/aura github repo for supported tags. The reference can also be found in the Lightning Component Dev. Guide - Supported HTML Tags

Basically, you can't add these tags in your component markup, you will keep running into the following Error:

Failed to save ComponentName.cmp: No COMPONENT named markup://polygon found : [markup://c:ComponentName]: Source

Unless added to the supportd tags in the framework.

2
  • Is there any workarounds for this? Commented Apr 3, 2018 at 17:09
  • no (or at least not that I am aware of), can wait for someone else to post another answer
    – glls
    Commented Apr 3, 2018 at 17:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .