From 6bac27bcc19af04fb58d6a9205b3c6b716f983ce Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 22 Jan 2014 17:25:23 +0530 Subject: [PATCH] in texts, allow for data-type and data-value attribute (keyword, chapter, footnote) --- static/js/textPanel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/textPanel.js b/static/js/textPanel.js index bd7a2d4a..c329aef7 100644 --- a/static/js/textPanel.js +++ b/static/js/textPanel.js @@ -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',