Update for Redactor 10.0 and other prevent conditions