From ceba5b3d0bb8e39a98a65e391d34a22f2de0e2b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tautvidas=20Sipavi=C4=8Dius?= Date: Wed, 12 Apr 2017 13:17:45 +0300 Subject: [PATCH] Fix pasting from text editors and word processors [MAILPOET-829] --- assets/js/src/newsletter_editor/blocks/text.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/src/newsletter_editor/blocks/text.js b/assets/js/src/newsletter_editor/blocks/text.js index a5ff0df4c5..5e84f1d7fb 100644 --- a/assets/js/src/newsletter_editor/blocks/text.js +++ b/assets/js/src/newsletter_editor/blocks/text.js @@ -32,7 +32,7 @@ define([ validElements: "p[class|style],span[class|style],a[href|class|title|target|style],h1[class|style],h2[class|style],h3[class|style],ol[class|style],ul[class|style],li[class|style],strong[class|style],em[class|style],strike,br,blockquote[class|style],table[class|style],tr[class|style],th[class|style],td[class|style]", invalidElements: "script", blockFormats: 'Heading 1=h1;Heading 2=h2;Heading 3=h3;Paragraph=p', - plugins: "link code textcolor colorpicker mailpoet_shortcodes", + plugins: "link code textcolor colorpicker mailpoet_shortcodes paste", configurationFilter: function(originalSettings) { return _.extend({}, originalSettings, { mailpoet_shortcodes: App.getConfig().get('shortcodes').toJSON(),