BUG-15015 HTML EN DYNAFORMS NO ADMITE CSS

El html de dynaforms no admite la etiqueta style en el body del html.

Se agrego una configuracion al inicio del tinyMCE valid_children : "+body[style],+form[style],+td[style]" para q las etiquetas style no sean eliminadas dentro del body, form y td tags.
This commit is contained in:
jennylee
2014-06-23 13:54:12 -04:00
parent b36247878a
commit 9c99af817e
3 changed files with 4 additions and 1 deletions

View File

@@ -2691,6 +2691,7 @@ tinymce.html.Styles = function(settings, schema) {
// Allow all elements and attributes if verify_html is set to false
if (settings.verify_html === false)
settings.valid_elements = '*[*]';
settings.valid_children = '+body[style],+form[style],+td[style]';
// Build styles list
if (settings.valid_styles) {