<h1>Editor 1</h1>
<telerik:RadEditor ID="editor1" runat="server" RenderMode="Lightweight"></telerik:RadEditor>
<h1>Editor 2</h1>
<telerik:RadEditor ID="editor2" runat="server" RenderMode="Lightweight"></telerik:RadEditor>
Hi everyone,
A workaround that you can use for the issue is:
<telerik:RadEditor ID="editor2" runat="server" RenderMode="Lightweight"></telerik:RadEditor>
<script type="text/javascript">
if (typeof (Telerik.Web.UI.Editor) != "undefined") {
var $ = $telerik.$;
Telerik.Web.UI.Editor.UI.LightweightColorPickerView.prototype.decorate = function (color) {
var editorId = this.owner.get_parent().get_editor().get_id();
var styleEl = $("head").find("style#re" + this.owner.get_name() + "_" + editorId + "_StyleHolder");
if (!styleEl.get(0)) {
styleEl = $("<style></style>").attr("id", "re" + this.owner.get_name() + "_" + editorId + "_StyleHolder");
$("head").append(styleEl);
}
var content = "";
if (color) {
content = "#" + editorId + " a.reToolIcon.reTool.re" + this.owner.get_name() + ":before{color:" + color + ";}";
}
try { //IE8 throws an error when setting innerHTML to a <style> element
styleEl.text(content);
}
catch (e) {
styleEl.prop("styleSheet").cssText = content;
}
}
}
</script>
Regards,
Rumen
Progress Telerik
Тhe web is about to get a bit better!
The Progress Hack-For-Good Challenge has started. Learn how to enter and make the web a worthier place: https://progress-worthyweb.devpost.com.
Updated on 11 Feb 2020: Shortly before the R1 2020 release, we found out that the hotfix introduces a regression and we did not check it in. We will try to incorporate it into a future release.
End of Update
Hi Justin,
Thank you for reporting this glitch!
I do appreciate your feedback and have good news that we managed to fix it. The problem will not exist in the upcoming R1 release, expected in mid-January 2020.
As a small note of gratitude, I also updated your Telerik points.
Regards,
Rumen
Progress Telerik