5451 Posts in 1673 Topics by 1197 members
|Go to End|
10 January 2013 at 12:25pm Last edited: 11 January 2013 5:34am
I'm trying to add some microformats / microdata and Schema.org markup on one of my pages. This involves adding invalid attributes to my html elements (itemprop, itemtype and itemscope). every time I save the page with these attributes, the invalid attributes get removed from the html.
I think the WYSIWYG is doing this.
Is there a quick workaround in the TinyMCE configuration or the CMS itself that would allow these attributes, iframe elements and more to be saved to the database?
11 January 2013 at 5:32am
Just an update, since I found the answer:
In \framework\forms\HtmlEditorConfig.php I changed
'verify_html' => true
'verify_html' => false
and it no longer removes the itemprop, itemtype and itemscope attributes from my markup.
|Go to Top|