diff --git a/source/Ox.UI/js/Form/Editable.js b/source/Ox.UI/js/Form/Editable.js index c213fb5c..f403c56e 100644 --- a/source/Ox.UI/js/Form/Editable.js +++ b/source/Ox.UI/js/Form/Editable.js @@ -32,7 +32,9 @@ Ox.Editable = function(options, self) { highlight: null, maxHeight: void 0, placeholder: '', + replaceTags: {}, submitOnBlur: true, + tags: null, tooltip: '', value: '', width: 0, @@ -222,7 +224,7 @@ Ox.Editable = function(options, self) { ).replace(/\0/g, '\n\n').trim(); return (self.options.type == 'input' ? Ox.encodeHTMLEntities(value) - : Ox.sanitizeHTML(value) + : Ox.sanitizeHTML(value, self.options.tags, self.options.replaceTags) ); }