Eilon / MauiHybridWebView

MIT License
202 stars 40 forks source link

Error when setting a property with a string longer 5000 chars #31

Open weggetor opened 7 months ago

weggetor commented 7 months ago

Hi Eilon ,

Im using the MauiHybridWebView in my MAUI App with the TinyMCE Editor, following along the blog from Adin Aronson (https://medium.com/@adinas/using-tinemce-in-your-net-maui-app-b869c9c22d8c).

Works like a charm - but only when I give it a html-string shorter than 5000 chars .

No error on windows, but on Android I get this error message:

Java.Lang.IndexOutOfBoundsException Nachricht = setSpan (13587 ... 13587) ends beyond length 5000

Maybe that has nothing to do with your code but I still want to log this here. Perhaps you have an idea what goes wrong ?