in texts, allow for data-type and data-value attribute (keyword, chapter, footnote)

This commit is contained in:
rolux 2014-01-22 17:25:23 +05:30
parent 67b70e58b9
commit 6bac27bcc1

View file

@ -312,7 +312,7 @@ pandora.ui.textHTML = function(text) {
}
);
},
globalAttributes: ['data-name', 'lang'],
globalAttributes: ['data-name', 'data-type', 'data-value', 'lang'],
placeholder: text.editable ? Ox._('Doubleclick to edit text') : '',
tooltip: text.editable ? pandora.getEditTooltip('text') : '',
type: 'textarea',