You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
It would be really great if I could create a TextAnnotation from parsing HTML. This would help us with things like interpreting the text editor, copy and paste, etc. It's kind of a big item.
I know that certain properties would be lost, and I'm doubt we could ensure styles stayed the same. But for a big picture skeleton, it would be nice to be able to convert between the two.
Describe the solution you'd like
Individual runs have toHtml and fromHtml methods
The top level TextAnnotation should also have these methods that recurse throught the TextBlock to construct a corresponding HTML block of text
The text was updated successfully, but these errors were encountered:
This sounds like outside the scope of the core packages. Do technical limitations (e.g., data not exposed publicly) prevent you or someone else from implementing this?
Not that I can think of. We could do this in our own app, I just thought it made more sense to do it here as a helper function. Feel free to close this if you feel it doesn't fit.
Is your feature request related to a problem? Please describe.
It would be really great if I could create a
TextAnnotation
from parsing HTML. This would help us with things like interpreting the text editor, copy and paste, etc. It's kind of a big item.I know that certain properties would be lost, and I'm doubt we could ensure styles stayed the same. But for a big picture skeleton, it would be nice to be able to convert between the two.
Describe the solution you'd like
toHtml
andfromHtml
methodsTextAnnotation
should also have these methods that recurse throught theTextBlock
to construct a corresponding HTML block of textThe text was updated successfully, but these errors were encountered: