Jump to content

Inputfieldtextarea: saved html table loses data attributes


Cybermano
 Share

Recommended Posts

Hi.

I’m using an Inputfieldtextarea to store an html table in a page (admin side), populated by hook using custom markups (no AdminDataTables).

This field is setted without textformatters, accepting html/markup content and with open and locked visibility (to render properly the html structure).

In this table, all the data attributes of any tr/td (but also other tags such as a links or button, div etc.) are removed from the html and only classes remain in the code.

Maybe I’m missing something, but I’m stuck with this behaviour.

Anyone has any idea? I searched similar topics in the forum but with no luck…

PS I would use data attributes to speed up js/ajax events and keep code cleaner. 

 

 

 

 

Link to comment
Share on other sites

Hi @Gideon So, thanks for your reply.

Currently no RTE is setted: in past the same config didn’t broke the data attributes (but with AdminDataTableMarkup call, not simple html table tags).

I will try to set almost one RTE and let you know.

Many thanks in advance.

Edited by Cybermano
Typos
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...