Hi, now in firefox 52 the radEditor is getting disabled, this is my code:
<telerik:RadEditor Style="min-width: 95%" ID="txt" runat="server" Width="95%" Height="210px" ContentAreaMode="Iframe" >
</telerik:RadEditor>
I realized that when we change the contentareamode to div, it allows my to paste correctly, but in my case when i use "iframe" option, it doesn't allow.
7 Answers, 1 is accepted
Hello Christian,
I am aware of this issue and it happens in very old versions of RadEditor for ASP.NET AJAX, which does not support the latest browser versions. It is always better to upgrade to the latest one to ensure the best interoperability with the latest browsers: Firefox, Chrome, Edge and IE11. I tested the latest version and it works fine under Firefox 52 - http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx.
If you don't have currently time to upgrade, you can try to programmatically enable the button as shown below:
<script>
function OnClientSelectionChange(editor) {
if ($telerik.isFirefox) {
var toolPaste = editor.get_toolByName("Paste");
toolPaste.setState(0);
}
}
</script>
<telerik:RadEditor ID="RadEditor1" runat="server" OnClientSelectionChange="OnClientSelectionChange" ContentAreaMode="Div"></telerik:RadEditor>
You'll also probably need to switch to Div content area mode to enable the Ctrl+V option.
Note that we do not support this workaround and if you experience any issues or side effects, you should consider an upgrade to 2017.1.228.
Best regards,
RumenTelerik by Progress
Thank you for your response, I'm asking to my team if we can upgrade our telerk version. By the moment, I enabled the paste from word toolbar as a work around because in that popup I can do Ctrl + V.
Another question for you please, in case my team respond that is not possible to upgrade our telerk controls, is ther a way (maybe programatically) to do the Ctrl +V option, maybe a javascript code?
Thanks
Hi Christian,
Have you had a chance to try the provided code in my earlier reply? I am able to paste into the editor with Ctrl+V in Firefox 52 by setting the ContentAreaMode to Div. The code also enabled the Paste button with the setState client method.
I am not aware of any other solution for the paste issue which is definitely due to a browser regression.
Best regards,
Rumen
Telerik by Progress
Hi Christian,
You can find information about the differences between div and iframe content area at http://docs.telerik.com/devtools/aspnet-ajax/controls/editor/functionality/editor-views-and-modes/contentareamode-property and http://demos.telerik.com/aspnet-ajax/editor/examples/contentareamodediv/defaultcs.aspx.
Best regards,
RumenTelerik by Progress