Environment : CRM Dyanmaics 2016(8.1) On Premise
User Workstation : Windows 10
Browser : Microsoft Edge(Chromium) Version 80.0.361.62
We have up[graded Operating system and browser but all users are facing intermittent issue of Email Body Disabled whilst creating new or replying to existing email. Similar issue was raised in CRM 2013 for Google Chrome for which MS released Patch and again same issue cropped for CRM2016 Edge browser. After having call with MS it seems we need to upgrade to ver 8.2 but when we upgraded the entire system was broken because of customization and integration with external systems. Unfortunately we can't upgrade to 8.2. IE being so slow when more than 4-5 CRM windows opened, option was to use EDGE but because email body gets disabled, users getting annoyed.
Below code is used to enable the body which works find but saves null value for description field.
function unlockBodyLoad() { setTimeout(unlockBody, 3000); } function unlockBody() { //defaultvalue="" style='overflow-wrap: break-word;' contenteditable='true' var editorFrame = parent.frames['descriptionEditIFrame']; var attEditable = editorFrame.contentDocument.body.getAttribute('contenteditable'); if (attEditable) { } else { var editAtt = editorFrame.contentDocument.createAttribute('contenteditable'); editAtt.value = 'true'; var styleAtt = editorFrame.contentDocument.createAttribute('style'); styleAtt.value = 'overflow-wrap: break-word;'; editorFrame.contentDocument.body.setAttributeNode(editAtt); editorFrame.contentDocument.body.setAttributeNode(styleAtt); } }
Below setting is also set to make sure its not secure.
Administration -> System Settings -> Email
Use Secure frames to restrict email message content is set to No
If anyone having any sort of solution pls advise