How to insert custom HTML element ? #461
hirenpanchal1608
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have one custom HTML Element named "MyCustomComp". Inside this HTMLElement, there is only span element with some css style and some attributes are there. Now I am trying to insertHTML(""). But ngxEditor is removing this custom HTML element. Any here here.
this.ngxEditor.commands.insertHTML("<MyCustomComp name="XYZ"></MyCustomComp>").exec();
Beta Was this translation helpful? Give feedback.
All reactions