Title: Syntax for extended_valid_elements
Last modified: February 23, 2019

---

# Syntax for extended_valid_elements

 *  [Ate Up With Motor](https://wordpress.org/support/users/ate-up-with-motor/)
 * (@ate-up-with-motor)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/syntax-for-extended_valid_elements/)
 * I need to keep TinyMCE from stripping the `caption`, `col`, and `colgroup` elements
   from my tables. It seems like the best way to do this is to add those elements
   using `extended_valid_elements`, but I can’t figure out how to get it to work.
   I tried adding caption,col,colgroup and then caption[*],col[*],colgroup[*], but
   that didn’t stop the editor from stripping those tags.
 * Am I missing something? (I tried looking through the TinyMCE documentation, but
   it was no help at all.)

The topic ‘Syntax for extended_valid_elements’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/advanced-tinymce-configuration.svg)
 * [Advanced TinyMCE Configuration](https://wordpress.org/plugins/advanced-tinymce-configuration/)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-tinymce-configuration/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-tinymce-configuration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-tinymce-configuration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-tinymce-configuration/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Ate Up With Motor](https://wordpress.org/support/users/ate-up-with-motor/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/syntax-for-extended_valid_elements/)
 * Status: not resolved