Skip to main content
17-Peridot
Solved

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

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

 

 

seancccAnswer
17-Peridot

@VladimirRosu_116627 ,

 

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

6 replies

seanccc17-PeridotAuthor
17-Peridot

Sorry, my mistake .  I compared two different element. 

Translate
17-Peridot

@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

Translate
19-Tanzanite

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

Translate
seanccc17-PeridotAuthorAnswer
17-Peridot

@VladimirRosu_116627 ,

 

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

Translate