Skip to main content
17-Peridot
May 17, 2020
Solved

Custom widget - the svg html element is replaced with i ?

  • May 17, 2020
  • 6 replies
  • 2240 views

Hi, 

I'm using the 3rd party js ui libaray to create the custom widget .  But the the <svg> element in the original ui libary become <i> and the sub dom is not rendered in cusom widget .   Is there any magic rendering occurs when rendering customer widget ? 

 

------The  html of the original ui library-----

seanccc_2-1589722194867.png

 

 

---the html after rendering in customer widget---

seanccc_1-1589722166324.png

 

 

Best answer by seanccc

@VladimirRosu_116627 ,

 

Yes, everything is fine, I just inspected different elements. 

6 replies

seanccc17-PeridotAuthor
17-Peridot
May 18, 2020

Sorry, my mistake .  I compared two different element. 

17-Peridot
May 18, 2020

@seanccc ,

 

Hope you are doing well. From review of the images you provided. It looks like you are using inline SVG markup, which according to the help center is not supported.

https://support.ptc.com/help/arbortext/r8.0.0.0/en/index.html#page/editor/editor_help/help6229.html

 

Hope that helps,

Peter

19-Tanzanite
May 18, 2020

@seanccc I presume everything's fine and that was just an issue caused by inspecting different elements, right?

seanccc17-PeridotAuthorAnswer
17-Peridot
May 20, 2020

@VladimirRosu_116627 ,

 

Yes, everything is fine, I just inspected different elements.