flutter_html icon indicating copy to clipboard operation
flutter_html copied to clipboard

[QUESTION] How to implement a custom VOID element?

Open rockingdice opened this issue 9 months ago • 0 comments

I want to implement a <wiki data="12345">, it's a void element, without an end tag </wiki>. I tried TagExtension, it can show the first widget, but the contents after it are all disappeared. I think it's treated like a normal element with an end tag, so everything inside the <wiki></wiki> will not shown because i didn't process them. But the core issue is , there should not be a </wiki> at all. the <wiki> tag itself is only a widget to show without any other things. How to implement that?

rockingdice avatar Apr 06 '25 04:04 rockingdice