This is a migrated thread and some comments may be shown as answers.

RADEditor Paste Not Working in Firefox

10 Answers 121 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Dave asked on 10 Mar 2017, 04:44 PM

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?

http://fdsrv.fire-defence.com/editordemo.aspx

10 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 13 Mar 2017, 09:09 AM

Hello Dave,

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:

<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 which does not work on my end in IFRAME mode with version 2011.3.1305.40.

 

Best regards,
Rumen
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
david
Top achievements
Rank 1
answered on 13 Mar 2017, 09:43 AM
Thanks, that has fixed it!
0
Shivlila
Top achievements
Rank 1
answered on 23 Mar 2017, 12:28 PM

Hello Rumen,

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.

 

Thanks,

Shivlila

0
Shivlila
Top achievements
Rank 1
answered on 27 Mar 2017, 12:48 PM

Hi Rumen,

Could you please check our above comment and get back to us.

 

Thanks,

Shivlila

0
chairman-mawh
Top achievements
Rank 1
answered on 26 Jul 2017, 10:09 AM

Hi Rumen

 

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)

 

Thanks!

0
Rumen
Telerik team
answered on 26 Jul 2017, 11:34 AM
Hi,

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.

Best regards,
Rumen
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Baktha
Top achievements
Rank 1
answered on 18 Sep 2018, 02:07 PM

Hi,

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

0
Rumen
Telerik team
answered on 19 Sep 2018, 03:49 PM
Hi Baktha,

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.

Best regards,
Rumen
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Peter
Top achievements
Rank 1
answered on 14 Oct 2018, 12:44 PM

Hi all

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,

Peter

 

 

 

0
Rumen
Telerik team
answered on 15 Oct 2018, 09:58 AM
Hi Peter,

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.

Best regards,
Rumen
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Editor
Asked by
Dave
Top achievements
Rank 1
Answers by
Rumen
Telerik team
david
Top achievements
Rank 1
Shivlila
Top achievements
Rank 1
chairman-mawh
Top achievements
Rank 1
Baktha
Top achievements
Rank 1
Peter
Top achievements
Rank 1
Share this question
or