cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

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

seanccc
17-Peridot

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

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

@VladimirRosu ,

 

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

View solution in original post

6 REPLIES 6
seanccc
17-Peridot
(To:seanccc)

Sorry, my mistake .  I compared two different element. 

PEHOWE
16-Pearl
(To:seanccc)

@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

VladimirRosu
19-Tanzanite
(To:PEHOWE)

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

@VladimirRosu ,

 

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

slangley
23-Emerald II
(To:seanccc)

Hi @seanccc.

 

Since you discovered the cause of the issue, could you please mark your post containing the solution as the Accepted Solution for the benefit of others on the community?

 

We appreciated your participation!

 

Regards.

 

--Sharon

slangley
23-Emerald II
(To:seanccc)

Hi @seanccc.

 

I have marked the Accepted Solution for this topic.  If you disagree with my selection, please let me know and I will be happy to change/remove it.

 

Regards.

 

--Sharon

Top Tags