Parsing HTML to Component #5317
Unanswered
Wayne-Mather
asked this question in
Q&A
Replies: 2 comments
-
I have created the following code - but if someone has a better way?
|
Beta Was this translation helpful? Give feedback.
0 replies
-
The only issue I see right now from TS is - let component = editor.Parser.parseHtml('<mj-style></mj-style>').html
+ let component = editor.Parser.parseHtml('<mj-style></mj-style>').html! but you still need to consider that |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
We used to be able to do the following:
However, that now returns a ComponentDefinition (or array). What's the best way of converting/casting this to a Component and achieve the same functionality as we did in 20.4. Any suggestions or help much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions