Paste is greyed out and has stopped working in RADEditor since our users have upgraded to Firefox v52. Paste works fine in Firefox v37 and Chrome. I have created a demo page below to demonstrate the issue, can anyone help fix it?
10 Answers, 1 is accepted
You are using a very old version from 2011 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:
You'll also probably need to switch to Div content area mode to enable the Ctrl+V option which does not work on my end in IFRAME mode with version 2011.3.1305.40.
Telerik by Progress
We have implemented the mentioned changes and the issue has been fixed. But we observed that after copy pasting the text the cursor should appear after last text of the pasted text, but currently it is appearing at start of the text.
E.g. If we copy paste the text as 'testing' then the cursor appears just before 't' it should appear after 'g'.
We are using Telerik.Web.UI.dll of 2013.3.114.35.
Could you please check our above comment and get back to us.
Quick question about this - was the recommendation that setting COntentAreaMode="Div" would sort the firefox pasting problem, or will pasting simply not work at all with an old Telerik and a new Firefox (and the code you gave is just to hack the button to be enabled, but not enable paste functionality)
Just set the ContentAreaMode property to "Div" and you and your end-users will be able to paste in the older versions of RadEditor in Firefox latest with Ctrl+V.
The browser regression breaks only to the iframe content area mode of the old RadEditor versions. The problem does not exist in the recent versions of RadEditor.
Am able to enter comments using Rich Text editor for my project [at Design and HTML modes] using Firefox version prior to 62.0 but unable to enter comments in Version - 62.0 only [Especially at design mode]. Attaching screenshots for reference.
Please help me on this
Can you please call the editor.onParentNodeChanged() client-side method as explained in The RadEditor Control is Moved in the DOM article when showing/loading RadEditor on the page?
If the problem is reproducible in RadWindow check this article too: RadEditor Does Not Work in RadWindow.
Due to experiences with my own application, I followed the tip to check if toolbar buttons are available in the html view of the demos.
I did the folowing:
1) open https://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx in firefox 62.0.3 (64-Bit)
2) click html view in demo
3) all Toolbar buttons are disabled, why? (e.g. find and replace is available in chrome, IE, Edge)
4) Same behaviour in content area mode sample https://demos.telerik.com/aspnet-ajax/editor/examples/contentareamodediv/defaultcs.aspx
What has to be done enable functions in html view (e.g. find and replace)
Please add a working example to your demos.
Thank you and best regards,
The RadEditor toolbar is designed for operation only in Design mode, where the content area is an editable DIV or IFRAME element (depending on the ContentAreaMode property setting).
The toolbar tools and their respective commands do not support HTML mode (which is a textarea element) and for this reasons the toolbar items are disabled in HTML mode. This is not a regression, bug or limitation, this is from the first version of RadEditor. So far we haven't received many request for toolbar items for HTML mode and for this reason we haven't implemented such functionality and only allowed the Find and Replace and the Print features to work in HTML mode.
The Find and Replace feature is disabled in HTML mode in Firefox because the functionality to find text in a textarea is not fully supported by the browser.