Skip to content

SelectableHtml and custom widgets #1105

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

Closed
asmith20002 opened this issue Jul 12, 2022 · 4 comments · Fixed by #1176
Closed

SelectableHtml and custom widgets #1105

asmith20002 opened this issue Jul 12, 2022 · 4 comments · Fixed by #1176
Labels
Milestone

Comments

@asmith20002
Copy link

The issue on flutter which you have listed in the description regarding selectable html:
flutter/flutter#38474

Seems to be solved/completed.

I like to be able to select text from html which has customRenders. (only the text selection is enough, ignoring custom widgets)

In normal Html() customRenders takes Map<bool Function(RenderContext), CustomRender> of which I have used CustomRender.widget() function.

The SelectableHtml() takes Map<bool Function(RenderContext), SelectableCustomRender> limiting me from using my custom widgets. SelectableCustomRender doesn't have a widget() function.

How can I have a selectable html on text only while keeping my custom widgets?

@vsutedjo
Copy link

vsutedjo commented Aug 1, 2022

Have the same issue, would be glad if this could be added!

@dragnev-dev
Copy link

Related #717, sorry for mistakenly referencing this issue above

@nicks258
Copy link

Any updates on this?

@erickok
Copy link
Contributor

erickok commented Mar 16, 2023

Yes I recommend you check out #1137 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
6 participants