new attribute type "html", which is NOT run through (tags removing) html_entity_decode, used for value in et2_html(area)

This commit is contained in:
Ralf Becker
2014-02-14 10:14:28 +00:00
parent e60294fdf4
commit bd7980f0e8
3 changed files with 22 additions and 7 deletions

View File

@ -65,6 +65,12 @@ var et2_htmlarea = et2_inputWidget.extend(
'description': 'Internal configuration - managed by preferences & framework, passed in here',
'translate': 'no_lang'
},
value: {
name: "Value",
description: "The value of the widget",
type: "html", // "string" would remove html tags by running html_entity_decode
default: et2_no_init
}
},
legacyOptions: ['mode','height','width','expand_toolbar','base_href'],