I try to edit the SharePoint Rich Text Editor box using IE11, But IE is automatically group the Div using RTE.Canvas
based on the CSS. But RTE.Canvas
grouping is not working in chrome. Please check the image below.
I don't want this box canvas in IE when i edit the SharePoint RTE, compare to chrome it doesn't shown.
I try to hide this box in IE but it doesn't work, The Methods i follow.
<script>
//<![CDATA[
$(document).ready(function() {
$(".ms-rtestate-write").bind('paste', function(e) {
var text = $(this).html();
$(this).html(text.replace( /<\s*span.*?>/gi,"").replace( /<\s*\/\s*span\s*.*?>/gi,""));
});
});
//]]>
</script>
After using the above script, it doesn't affect the RTE.Canvas
RTE.Canvas = null
It's affecting entire canvas.
I don't want the highlighted box in IE when edit the SharePoint RTE, please help me to resolve canvas issue.