Cybermano Posted yesterday at 12:07 AM Share Posted yesterday at 12:07 AM 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 More sharing options...
Gideon So Posted 20 hours ago Share Posted 20 hours ago Hi @Cybermano I think you need to set the textarea field to allow data attributes. Which RTE you are using? CKEditor or TinyMce? Gideon Link to comment Share on other sites More sharing options...
Cybermano Posted 15 hours ago Author Share Posted 15 hours ago (edited) 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 14 hours ago by Cybermano Typos Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now