[FIX] web_editor: allow widget text on field html in studio

Before this commit, widget='text' was not available in web_studio since 'html'
was missing from the supportedFieldTypes list of the TextField.

After this commit you can use widget text (and other derivated type of text).

task-sbu-feedback

closes odoo/odoo#48043

X-original-commit: 34bd90e7fc2aa094eac92b6f635c2d8d933ecb86
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
This commit is contained in:
Jeremy Kersten
2020-03-19 15:20:29 +00:00
parent 04e07ba9aa
commit 5bdec6351a
@@ -1365,7 +1365,7 @@ var FieldPercentage = FieldFloat.extend({
var FieldText = InputField.extend(TranslatableFieldMixin, {
description: _lt("Multiline Text"),
className: 'o_field_text',
supportedFieldTypes: ['text'],
supportedFieldTypes: ['text', 'html'],
tagName: 'span',
/**