Text Fields Adding <span>

Post any suggestions or enhancement requests about the Verj.io platform or this Forum

Moderators: Ian, Dave, jcoulson, Jon, Wai

Ebase User
Posts: 51
Joined: Wed Aug 15, 2012 1:22 pm

Text Fields Adding <span>


Postby geadon » Thu Mar 28, 2019 11:04 am

Would it be possible to change the HTML markup around text fields? Currently Ebase adds a <span> around a text field (using bootstrap framework) which means that we cannot then have any valid tags within the <span>.

For example, if we want to make some text a title by adding the h1 tag we type <h1>Title</h1> ino the text field. This produces the following HTML (which is invalid and fails validation checks) <span><h1>Title</h1></span>.

We can get around the issue by creating a h1 css class and apply that to the text control but that's a bit of a hack and isn't ideal for accessibility and screen readers.

0 x

Posts: 1251
Joined: Wed Sep 12, 2007 12:49 pm

Re: Text Fields Adding <span>


Postby Jon » Fri Mar 29, 2019 8:52 am

I've raised a bug for this internally. We may be able to change the span to an inline div. But I'm interested in the impact of this problem - do you see any errors or problems reported anywhere? Most browsers seem to swallow this situation without even raising warning messages. For interest, bootstrap includes a number of h1, h2 etc classes - the same as you suggest - so this seems to be an entirely legitimate technique.
0 x

Who is online

Users browsing this forum: No registered users and 1 guest