Timeline for How do I put a div around table with class = table-responsive?
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 14, 2016 at 14:01 | comment | added | lesley n. |
I try to change the text filter but it did not work. I add <div class> <table class> and <div><table></table></div> to ALLOWED HTML TAGS but I can not put a div around table. I can put it around <h1> or around text in general. So can you give me an example for the syntax, please?
|
|
Jan 7, 2016 at 16:58 | comment | added | 4uk4 | See here table.html.twig - CKeditor does not use this twig, it has its own table template and how to configure this is not a drupal topic. If you want to do this in drupal, your best chance is a text filter. It is easy to implement this yourself. | |
Jan 7, 2016 at 14:45 | comment | added | lesley n. | Thanks, for your informations. I didn't solve the problem yet, but made a lot of tests. What is a table.html.twig good for, if I can't use an editor? Or is it only the ckeditor? Does it work in other editors? | |
Jan 6, 2016 at 8:19 | history | answered | 4uk4 | CC BY-SA 3.0 |