EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
cleanup
Yuri Kuznetsov92d48f2ada0c
diff --git a/client/src/views/fields/wysiwyg.js b/client/src/views/fields/wysiwyg.jsindex 91d46bd319..2cdf170eea 100644--- a/client/src/views/fields/wysiwyg.js+++ b/client/src/views/fields/wysiwyg.js@@ -810,23 +810,6 @@ class WysiwygFieldView extends TextFieldView {return processNode(div).replace(/\n{2,}/g, '\n\n').trim();}- /*htmlToPlain(text) {- text = text || '';-- let value = text- .replace(/<br\s*\/?>/mg, '\n')- .replace(/<\/p\s*\/?>/mg, '\n\n');-- const $div = $('<div>').html(value);-- $div.find('style').remove();- $div.find('link[ref="stylesheet"]').remove();-- value = $div.text();-- return value;- }*/-disableWysiwygMode() {this.destroySummernote();