From c67022eeb2760407bc0b301ba827592b320e7b1b Mon Sep 17 00:00:00 2001 From: Kuldeep Kumar Date: Fri, 2 Aug 2019 17:43:36 +0500 Subject: [PATCH] Span and I Tags removal fix --- xblockutils/public/studio_edit.js | 1 + 1 file changed, 1 insertion(+) diff --git a/xblockutils/public/studio_edit.js b/xblockutils/public/studio_edit.js index bb2e782..d2ac7cb 100644 --- a/xblockutils/public/studio_edit.js +++ b/xblockutils/public/studio_edit.js @@ -63,6 +63,7 @@ function StudioEditableXBlockMixin(runtime, element) { toolbar_items_size: 'small', toolbar: "formatselect | styleselect | bold italic underline forecolor wrapAsCode | bullist numlist outdent indent blockquote | link unlink | code", resize: "both", + extended_valid_elements : 'i[class],span[class]', setup : function(ed) { ed.on('change', fieldChanged); }