HTML Element allowed attributes

HTML Element allowed attributes

  

In mobile's HTML Element widget which names are allowed in the Attributes section? Because I'm trying to add custom attributes that aren't being sent to the generated HTML. 

Solution

Prefix your attribute name with "data-" (no quotes).  In the following screenshot, only title and data-myAttrib were allowed through.  However, my testing was done with a mobile app, but rendered in test mode on a desktop browser... but I think it should be ok on a device... you'll need to confirm.


Solution

Yup, that's it! Thanks.