I'm not really familiar with ANE development but I will keep your suggestion in mind. But is it not possible to display and edit HTML on mobile? This looks like a big shortcoming to me. Surely there has to be an option to raise the keyboard and proxy the key events to a RichEditableText component?
I don't want to end up using an ANE or a webview with JS based HTML editor if I can avoid it. I'm just a bit stunned that AIR is missing HTML functionalities for textarea's on mobile. I am willing to sacrifice performance if anyone has a way or workaround to get this done. On Thu, Jun 2, 2016 at 4:44 PM, Josh Tynjala <joshtynj...@gmail.com> wrote: > I've never tried this, but I wonder if you could create an ANE to manually > open and close the soft keyboard on iOS. If something on stage has focus, > it may still dispatch KeyboardEvents, even if AIR isn't the one that showed > the soft keyboard. > > - Josh > > On Thu, Jun 2, 2016 at 5:56 AM, Fréderic Cox <coxfrede...@gmail.com> > wrote: > > > Hi, > > > > I am currently working on a project where I have a TLFEditor to put a > > textarea's text in bold/italic/underline, change font size/color etc.. > > > > It works fine on desktop but not on mobile. > > > > Option 1 is to use skinClass = spark.skins.spark.TextAreaSkin but then > the > > keyboard on iOS does not show. > > > > Option 2 is to use the default mobile skin but then TLF is not supported. > > > > It is a product description component in which the user only needs to > add a > > small amount of text so the performance overhead for TLF is not an issue > > here. Just need to find a way to open the keyboard so the keyboard input > is > > accepted. Does anyone have a solution or workaround? > > > > I've spent almost 6 hours on this issue alone today .. I know > > requestSoftKeyboard() is not available on iOS and I've also tried setting > > stage.focus = textDisplay but nothing works on the device. > > > > Any help/workarounds are greatly appreciated! > > >