From 6a43eabeb465665a98d9988c466d1d306883ceda Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Fri, 24 Jun 2016 14:23:19 +0200 Subject: [PATCH] Improved _checkTypeOf(). --- app/assets/javascripts/app/lib/base/jquery.contenteditable.js | 1 - 1 file changed, 1 deletion(-) diff --git a/app/assets/javascripts/app/lib/base/jquery.contenteditable.js b/app/assets/javascripts/app/lib/base/jquery.contenteditable.js index dae383b8b..8376dc033 100644 --- a/app/assets/javascripts/app/lib/base/jquery.contenteditable.js +++ b/app/assets/javascripts/app/lib/base/jquery.contenteditable.js @@ -267,7 +267,6 @@ _this.log('paste', docType, text) if (docType == 'html') { - text = '
' + text + '
' // to prevent multible dom object. we need it at level 0 if (_this.options.mode === 'textonly') { if (!_this.options.multiline) { text = App.Utils.htmlRemoveTags(text)