User login

Drupal

TinyMCE in WYSIWYG API destroys HTML it does not like no matter what the settings

A client wanted to center an embedded video and was disabling rich text in order to add tags around it to center it. Save it and it works, but edit the node and the WYSIWYG would strip the new tags and break the formatting on save. Granted, these are deprecated tags that were being used but it is not the WYSIWYG's place to be enforcing that.

Unchecking Paste from Word button and unchecking all of these and TinyMCE still deletes center or div align="center" tags.

Boost caching: what refreshes it and how?

A normal (node) page triggers the Drupal-integrated Boost cache to expire and replace the page whenever you edit it. Editing a view unfortunately does not have such triggers. In this case the views are attached to a node, so simply resaving the node rebuilds the cache.

In most cases the view itself will not be modified, rather, you will add or edit a node associated with a view which also refreshes the cache for that views pages. (Note this takes a bit of processing to look up, and i don't think it will apply for blocks.)

Allowed HTML tags for Drupal's Filtered HTML input format: generous list

Minimum:

<a> <em> <strong> <u> <cite> <code> <h2> <h3> <h4> <h5> <h6> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <p> <br> <span> <div> <img> <sub> <sup> <strike>

Syndicate content