WiscWeb - WordPress UW Theme - HTML tags removed from WYSIWYG text editor

UW Theme version 1.4.0 was released on February 7, 2019, and no longer supports adding certain HTML tags to the WYSIWG text editor of the UW Theme.

Issue

UW Theme version 1.4.0 was released on February 7, 2019, and no longer supports adding certain HTML tags to the WYSIWG text editor of the UW Theme. This change happened with an upgrade to Advanced Custom Fields (ACF), which comes bundled with the theme. Some users may find that HTML tags they were previously using are stripped from their content upon publish of the page.

Why is this happening?

By default, Wordpress limits the use of HTML tags in the text editor for security reasons, and ACF recently adopted this same practice. Wordpress and ACF are making great strides in security and one of the ways they protect sites from hackers, spammers, and other risks is by automatically stripping certain HTML tags from content to prevent attackers from injecting harmful scripts into the database. The following are a few of the tags that are no longer allowed: 
  • iframes
  • script tags
  • comment tags
  • import tags
  • input tags
  • YouTube videos
  • Social feeds
  • Google Map embeds

Resolutions

oEmbeds

WordPress already allows the following to be embedded in the WYSIWYG via URL (among others):
  • YouTube and Vimeo Videos
  • Flikr and Instagram Images
  • Twitter Feeds
To utilize this feature, simply add the source URL in the Text Block and WordPress will automatically turn the URL into embedded content. Further instructions (and a full list of available oEmbeds) can be found on the WordPress Embeds page

Embed Content Page Element

The UW Theme offers a page element for embedding certain types of content in your page. The following can be embedded with the Embed Content Page Element:
  • YouTube and Vimeo Videos
  • Twitter Feeds
Instructions for using this tool can be found on the Embed Content KB page. Please note that this element is currently not available in 3 column layouts. 

Temporary Embed Feature Plugin

If none of the above options work for you, the WiscWeb team has created a plugin that allows the use of additional HTML tags for a limited period of time while users determine an alternative method to display this content. This is currently enabled on all sites for a limited time. 




Keywords:HTML tags, WYSIWYG, text editor, embed, embedded content, iframe, script, import, input, Google Map, Google Calendar, Twitter   Doc ID:89798
Owner:Kedar J.Group:WiscWeb CMS
Created:2019-02-18 15:30 CDTUpdated:2019-03-20 14:56 CDT
Sites:DoIT Help Desk, WiscWeb CMS
Feedback:  0   0