-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not support float #45
Comments
You could try to extend it you know. Also just saying :/ |
Hey. Thanks for the reply. I tried out HtmlRenderer with the hope of using it. I raised the issues I found with the hope that they might be useful in the future devs, but they are not expectations or demands. I decided to find an alternative solution to HtmlRenderer for my purposes, but think it has a lot of potential. |
Anyway, I think supporting the "float" in HTML would be a big ask. |
Whats the alternative? I agree it has potential! |
Any of the full and feature-complete browsers embedded into your app. See various WebView implementations for Avalonia. Like OutSystems WebView or DotNetBrowser. Another alternative - to not use HTML. |
Avalonia.HtmlRenderer is a great library to render simple formatted HTML, like changelogs, help dialogs or other rich text pages. But it's not a full standard implementation like your typical browser. |
Markdown.Avalonia looks interesting, hadn't seen that one before |
I need to display styled content which is selectable and copiable (even if I just copy the plain text to the clipboard). This styled content mush include borders and padding and images etc. Converting my content to HTML was one way I was looking at doing it. Markdown was another, thu I think markdown will not cut it for me. I'm now looking at using SelectableTextBox, though I will need to find a way to enable selection across multiple SelectableTextBox instances. I have a lot of work to do before then anyway, but was planning on posting or raising my implementation in case it may prove useful (assuming I can get it to work). I also remain open to other solutions.
The idea of a simple native renderer is great. But I would agree that there is no way it could possibly be a full implementation and one should not try (unless you wanted to commit your life to the task). Think it would be nice to fix a few issues and declare the things that it doesn't support (such as float) rather than have some poor soul (i.e. me) find out half way thru implementing something that depends on it. :) |
Just say'in.
The text was updated successfully, but these errors were encountered: