I think you could just stick TextFlow tags inside the "content" property
I think Royale is currently handling:
As a String assigned to the htmlText property. I'm not a fan of wrapping in
some other tag for identification, but not opposed either. I think we have
One “easy” way around the problem would be to require true html markup to be
inside some kind of tag to identify it as such. I think that’s what you’re
saying IIUC.
I’ve never used TLF markup, so I’m not familiar with how that’s used. What
would that look like?
> On Jan 14, 2020, at 7:11 PM,
IMO, allowing lowercase html tags should be allowed. We need to distinguish
when the compiler should build a tree of objects vs leave the tags as string.
IIRC, there is metadata about TextFlow markup for RichEditableText and Spark
TextInput/TextArea. Maybe we should do something like that
Huh. Missed that. Reverting my changes.
We should document this somewhere (unless I missed it).
OK. I’m pretty sure that will not work for SVG elements (i.e. there’s no
innerHTML), so I left the lowercase component declarations there.
> On Jan 14, 2020, at 6:22 PM, Alex Harui wrote:
>
>
IIRC, the compiler has some code that looks for certain html tags and assigns
it as a string. That is for components with an htmlText property, maybe
others. Where a component can render html directly (as opposed to receiving a
tree of objects), we want that html to remain as a string. So
No idea how that markup worked before was a recognized tag…
I just added “class" to HTML elements. That seems to fix it.
> On Jan 14, 2020, at 10:54 AM, Harbs wrote:
>
> How did that work before?
>
>> On Jan 14, 2020, at 10:33 AM, Carlos Rovira wrote:
>>
>> Hi,
>> The problem is that "img"
How did that work before?
> On Jan 14, 2020, at 10:33 AM, Carlos Rovira wrote:
>
> Hi,
> The problem is that "img" now is not allowed in html:Div
> some of the latest changes make it invalid.
> @Harbs I commented the two images in RoyaleSite.
> Hope you can take a look to fix it and restore
Hi,
The problem is that "img" now is not allowed in html:Div
some of the latest changes make it invalid.
@Harbs I commented the two images in RoyaleSite.
Hope you can take a look to fix it and restore that tow images back
Thanks
El mar., 14 ene. 2020 a las 8:21, Carlos Rovira ()
escribió:
> Hi
Hi Harbs,
some of the latest changes makes build brake. Can you take. a look?:
Loading configuration:
/Users/carlosrovira/Dev/Royale/Source/royale-asjs/frameworks/projects/RoyaleSite/target/compile-swf-config.xml