diff --git a/source/Ox.UI/js/Form/EditableContent.js b/source/Ox.UI/js/Form/EditableContent.js index 35d867bd..b9a31524 100644 --- a/source/Ox.UI/js/Form/EditableContent.js +++ b/source/Ox.UI/js/Form/EditableContent.js @@ -91,8 +91,7 @@ Ox.EditableContent = function(options, self) { if (e.originalEvent.clipboardData && e.originalEvent.clipboardData.getData) { Ox.print('TYPES', e.originalEvent.clipboardData.types); var value = e.originalEvent.clipboardData.getData('text/plain'); - value = Ox.encodeHTMLEntities(value).replace('\n', '
\n'); - Ox.print('VALUE', value); + value = Ox.encodeHTMLEntities(value).replace(/\n\n\n/g, '

\n'); document.execCommand('insertHTML', false, value); e.originalEvent.stopPropagation(); e.originalEvent.preventDefault();