TinyMCE Valid Elements

WordPress PluginAllows one to add “invalid” and custom HTML elements to the TinyMCE editor.

tinymce_valid_elements.zip (version 0.3)

Tags: tinymce, editor, html, element

Requires at least: 2.5

Tested up to: 2.7.1


By default, WordPress’ WYSIWYG editor, TinyMCE, will strip out of your Article and Page HTML code any elements that are not defined as “valid elements”; this can be extremely annoying (especially if you want to include iframes).

This plugin will allow you to extend what TinyMCE defines as “valid elements”. By doing so, TinyMCE will no longer remove, delete, or strip-out the additional elements and attributes that you specify.

** NOTE: Make sure after you add elements or attributes you do a hard refresh (ctrl + F5) of your browser on a TinyMCE screen (editing or creating a page/post) so that the TinyMCE cache will be refreshed! You will not see your changes until you do this!


  1. Upload the tinymce_valid_elements/ directory and its contents to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Manage -> TinyMCE Valid Elements and add some elements and attributes.

Read the Help Section at the bottom of the management page.

Frequently Asked Questions

I added new elements/attributes, why is TinyMCE still stripping it out?

  • Most likely, you need to do a hard refresh of your browser (ctrl + F5). Your JavaScript cache needs to be refreshed.

102 thoughts on “TinyMCE Valid Elements

  1. I have the same problem as wolfgang. “I would like to enable one further attribute for element . When doing so my attribute is enabled while all *default* attributes (like “class”) are gone.”

    I have had to manually add ALL valid attributes along with my invalid attribute to get it to work as desired. Other than that it works great.

  2. Does this plugin work with WordPress 3.3.2 ?

    I can’t find “Manage -> TinyMCE Valid Elements” so I cannot add any elements or attributes right now :(

  3. I like what you guys are up too. This sort of clever work and reporting!
    Keep up the fantastic works guys I’ve incorporated you guys to my

    Here is my homepage … Webster

  4. We are Chinese Handbags wholesaler, supply many kinds of cheap Handbags,replica Handbags,wholesale Handbags,”TinyMCE Valid Elements | engfer(s)”, and other fashion accessories. All are excellent quality with good price.You can look our website cheap discount bags.

  5. We are Chinese Handbags wholesaler, supply many kinds of cheap Handbags,replica Handbags,wholesale Handbags,”TinyMCE Valid Elements | engfer(s)”, and other fashion accessories. All are excellent quality with good price.You can look our website wholesale cheap bags.

  6. I have been surrfing online greater than 3 hours lately, but I by no means discovered any interesting article like yours.
    It’s beautiful value sufficient foor me. Personally, if aall web
    owners and bloggers made excellent content material as you did, the internet
    shall be a lot more seful than ever before.

    My web site :: three week diet reviews

  7. I read a lot of interesting content here.
    Probably you spend a lot of time writing, i know how to save you a lot of work, there is an online
    tool that creates readable, google friendly posts in minutes, just type in google – k2seotips unlimited content

  8. I’ll examine the seeds after the first twenty four hours,
    then I’ll check them every 12 hours after that but, after the first three or four nights,
    in the event the seeds haven’t germinated – then Iam going to contemplate they are not viable and definitely not happy with these vegetables.
    Whenever you purchase Marijuana vegetables that are feminized on-line, make sure you are working with a
    respected and reliable seed provider who has protected payment
    features. The Initial Smart Seeds Organization has been promoting Marijuana seeds for over 20 years,
    offering just vegetables that are authentic from the
    breeders that are true. Regardless of how tiny or big your order, you
    will constantly qualify for the most recent seeds that are free, determined by
    seed company that is picked and your dimension. Some are Autoflowering Vegetables, although some would be the typical versions.

  9. The program will mimic a mixing board, so you don’t have to click and drag with your mouse in order
    change the volume of your faders. Mark works for DMS in the UK who sell various DJ Sample packs
    and MIDI producer packs. With music making software and
    beat making software these days the sky is the limit to what kind
    of music you can make.

  10. It will also increase the ranking of your website on search engines and
    will drive more traffic to your website. The website speed test at Secret Search Engine Labs will analyze how fast a page on your
    site is loading and give you tips on how to improve it. But
    it seems Memorial Day wasn’t important enough to Google.

  11. An impressive share! I’ve just forwarded this onto a friend who has been doing a little
    homework on this. And he actually ordered me breakfast simply because I discovered it for him…
    lol. So allow me to reword this…. Thank YOU for the meal!!
    But yeah, thanks for spending the time to talk about this issue here on your internet site.

    my web-site … plan cul webcam

  12. Hello to every one, it’s actually a fastidious for me
    to pay a quick visit this web site, it includes important

    my blog post :: translate auto (Betty)

  13. You really make it appear so easy with your presentation however I to find this topic to be really something which I feel I’d by no means understand.
    It seems too complex and very vast for me. I’m looking ahead in your next put
    up, I will try to get the cling of it!

    My blog; singing coach (Tony)

  14. Hi there friends, how is all, and what you desire to say
    concerning this article, in my view its genuinely amazing in support of me.

    my page make money online from home (Alma)

  15. Hello there! This is the fourth time visiting now and I personally just wanted to say I truley get pleasure from reading your web site. I decided to bookmark it at reddit.com with the title: and your Web address: . I hope this is okay with you, I’m attempting to give your excellent blog a bit more exposure. Be back soon.

  16. Каждому Доброе утро! Заходите на Ifvremya Ifvremya-Cамые свежие новости о главных событиях власти,политики,спорта,культуры,происшествия,экономики,бизнеса,иносми

  17. 王岳伦背李湘做俯卧撑被调侃胖 李湘:我老公愿意受苦! 沙溢调侃李湘胖 自从介入录制《一路上有你 熟女吧 2》以后,李湘王岳伦这对”大白佳耦”敏捷圈粉有数,昔日对豪情生活一贯低调的他们,此次在镜头眼前展现出了真实的互动场景,各类恩爱的小行为令粉丝大喊”好有爱”。在周六晚的节目中,”湘女王”又再次”发糖”:面对沙溢暗示本身”胖”,奚弄被本人坐在背上做俯卧撑的老公是”受苦了”时,”湘女王”一脸甜蜜的还击道:”我老公情愿刻苦!” 沙溢调侃李湘”胖” “湘女王”甜蜜还击 节目中,佳宾金希澈要求丈夫们停止膂力大考验做俯卧撑,而条件是老婆们必需坐在丈夫背上完成这个项目。刚颁布发表完法则,看上去体能最好的沙溢便跳出来连

  18. 霍思燕分享婚姻保鲜诀 尤果网 要:老公每天为我推拿–人平易近网文娱频道–人民网 原题目:霍思燕分享婚姻保鲜法门:老公每天为我按摩   杜江、霍思燕伉俪   中新网北京4月23日电(记者 张曦) 霍思燕与老公杜江明天现身北京奥林匹克丛林公园,为影片《北京遇上西雅图之不二情书》进行的“北西恋爱马拉松”收官之战助阵。谈到两人的婚姻保鲜窍门,霍思燕一脸甜美流露,“杜江每天在家给我做按摩,尤果网,我很打动”。   跟着“北西爱情马拉松”在各大城市延续一个月的接力,勾当取得愈来愈多马拉松快乐喜爱者和网友们的存眷。此次北京作为起点站,吸引1500名参赛者齐聚开跑。 杜江霍思燕佳耦亲吻   由霍思燕匹俦主演的电视剧

  19. Couldn?t be created any better. Reading this post reminds me of my old room mate! He always kept talking about this. I will ahead this article to him. Pretty certain he will have a good examine. Thanks for sharing!

  20. 中国将取消批片配额限制,并于明年1月1日施行(来源:时光网)作为 上海配音 中华人民共和国国家主席习近平访美的重要成果之一,中国电影集团与美国电影协会签署的《分账影片进口发行合作协议》是自2012年《中美电影协议》以来,两国电影领域合作的又一重要协议,目前该协议细则尚未正式对外公开。 据外媒今日报道,中国中影集团和美国电影协会有望达成两项协议:一,中国引入国际审计机构对票房进行第三方监督;二,中国将取消批片配额限制,并于明年1月1日施行。目前,中美双方尚未有官方消息确认此事。 中国将引入国际机构监督“偷票房” 今年9月22日至25日,习近平赴美进行国事访问,期间中国电影集团与美国电影协会再度对话。据《好

  21.   一、网站URL   现在网站URL分成两种,一种是静态的URL,一种是动态的,那我们在在设计网站URL时 重庆配音 最好是静态的URL路径,如果网站是动态路径的话可以使用伪静态技术把路径静态话,我们在URL伪静态时要尽量减少目录层次,让网站URL简单化。   二、网站H标签的使用   H标签在网站关键词排名因素中占的位置还是比较大的,所以在网站H标签布局中我们要慎重考虑,H标签分为H1、H2一直到H6,现在的搜索引擎中H1和H2的权重相比会高点,而H3以下的搜索引擎给予的权重相当较低了,在H1和H2中插入我们网站的关键词,是可以提高相关性的。   但济南文汇传媒作为济南建站公司提醒:在使用H1标签时一

  22.  14日便是唐山地区开始焖炉的时候,虽然持续时间仅一个星期左右,但对心态的影响更甚,特别是期货市场中以螺纹钢为代表的强势表现,让本就库存不高的钢市再次有挺起胸膛的的趋势。不过,从各品种现货价格的调整幅度来看,整体仍处于谨慎阶段,若要更强势的抬头,还需更多的动力源泉。  普钢方面  钢材期货大涨 全国建材市场小幅上涨  截至发稿,全国25个主要城市螺纹钢价格多数拉涨。其中,上海、杭州、广州、武汉、天津、沈阳、贵阳、西安等13个城市螺纹钢价格上涨10-50元/吨。不过,仅北京市场20mm三级螺纹钢价格小跌10元至2200元/吨,主要是涨后价格成交不佳。  5月份国内经济运行总体平稳,全国粗钢日均

  23. 小野 http://www.gongkouwang.com娱乐图片网 丽莎献声《我最好冤家的婚礼》推行曲   新浪文娱讯 由中国片子股分无限公司、哥伦比亚影业出品,滕华涛监制、陈飞宏执导,舒淇[微博]、冯绍峰[微博]、宋茜[微博]、叶青[微博]、凤小岳[微博]等连袂主演的浪漫爱情悲剧电影――《我最好冤家的婚礼》将于2016年8月5日表态全国银幕,本日片方暴光了推行曲《期待你泛起》完全电影版MV。此次主题曲约请到了日本知名爵士女歌手小野丽莎献声。影片爱情故事中的千回百转共同小野丽莎奇特的唱腔,使人线人一新。  作为爵士音乐人,小野丽莎暖和并且优雅,她的音乐具有拉美平易近族狂烈的节拍,收集了夏威夷、法国、意大利、阿拉伯等世界各地的音乐气势派头,融入Bossa N

  24. When a custom cheap iphone 7 er makes a purchase and once the checkout process has been completed, the new customer’s order will appear in the cart’s ‘new order’ folder. Once the merchant sees the new order, they will begin to check whether payment has been accepted or not. If payment has not been accepted yet (for

  25. 2014 marks cheap iphone 7 the 13th edition of the fund, and in total, the wine maker has given 1.8 million dollars in support of emerging designers. Other past winners have included Zac Posen, Derek Lam, Proenza Schouler, Rodarte, Alexander Wang, Joseph Altuzarra and Prabal Gurung.Shopping eBay proves to be easier

  26. play roulette games online as of this reputed website. Learn, practice and improve yours skills in this game. Understand the various strategies and start winning real money! Take up online without downloading.

  27. casino cards are one of the most interesting and fun games where players build, stack and get mates. Check away the page for top level casino cards game online.

  28. Acquire registered at this site to enjoy a number of casino games online. Take pleasure in yourself in the live roulette game and make huge money. Seek out the real dealers and place your bets right now.

  29. I am very much happy for using the great services in this blog and using the great technology in this blog. Thanks a lot for providing the great info is visible in this blog and using the amazing technology.

    sports betting

  30. Nice technology is visible in this blog and using the great services in this blog. This is really superb info is visible in this blog that to using the great services in this blog and sharing the nice services. This is really satisfied by the nice services in this blog that to I am proved to see the great articles is visible in this blog. Thanks a lot for providing the nice info is visible in this blog and using the great technology.

  31. I am very much happy for using the great services in this blog and using the great technology in this blog. Thanks a lot for providing the great info is visible in this blog and using the amazing technology.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>