Skip to main content
May 17, 2020 1:30 PM UTC
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
May 20, 2020 1:51 AM UTC

@VladimirRosu_116627 ,

 

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

6 replies

seancccAuthor
May 18, 2020 2:11 PM UTC

Sorry, my mistake .  I compared two different element. 

May 18, 2020 4:06 PM UTC

@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

May 18, 2020 5:43 PM UTC

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

seancccAuthorAnswer
May 20, 2020 1:51 AM UTC

@VladimirRosu_116627 ,

 

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