diff --git a/processes-webapp/src/main/webapp/vue-app/processes/components/RequestEditor.vue b/processes-webapp/src/main/webapp/vue-app/processes/components/RequestEditor.vue index 2aa5d557d..9c4bf8692 100644 --- a/processes-webapp/src/main/webapp/vue-app/processes/components/RequestEditor.vue +++ b/processes-webapp/src/main/webapp/vue-app/processes/components/RequestEditor.vue @@ -138,6 +138,12 @@ export default { blur: function (event) { self.$emit('blur', event); }, + paste: function (event) { + const pastedData = (event.data && event.data.dataValue) || ''; + const cleanedData = pastedData.replace(/]*>|]*>|]*>/g, ''); + event.editor.insertHtml(cleanedData); + event.cancel(); + }, destroy: function () { self.inputVal = ''; self.editor = null;