Paste from Word/Strip Font Issue

7 posts, 0 answers
  1. Romeo
    Romeo avatar
    3 posts
    Member since:
    Aug 2015

    Posted 15 Sep Link to this post

    Hi,

    We are having a problem with Paste from Word & Paste from Word, Strip Font Issue. The pasted text is broken and totally different compare to the text copied from the word document. Please find the attached for the sample text in word and the result in Chrome/FireFox. It works fine with IE edge but it does not in Chrome/FireFox.

    Also when we try to bullet the last paragraph it does not work as expected, it bullets as expected but it works fine with "Paste" (Ctrl V)

    Here's the link of the sample page - https://www.knowledgelink.training/Edit

    Hope to hear from you soon.

    Regards

    Dev

  2. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 18 Sep Link to this post

    Hello,

    Are you able to reproduce the reported problem with the latest version of the control here?
    If yes, can you please provide the original MS Word file so that we can test it?

    Best regards,
    Rumen
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Romeo
    Romeo avatar
    3 posts
    Member since:
    Aug 2015

    Posted 19 Sep in reply to Rumen Link to this post

    Yes I am getting the results in FireFox and Chrome. It works fine in IE. I tried to attached the word document but it is now allowed but I have send post the original document (screenshot) in the post.
  5. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 20 Sep Link to this post

    Hi Romeo,

    Were you able to reproduce the reported problem with the latest version in the live demos? I'm unable to replicate the issue with version 2016.3 914 and I strongly recommend to upgrade and test the fresh R3 2016 release.


    Best regards,
    Rumen
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  6. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 20 Sep Link to this post

    I'm following up with new information about the reported scenario:

    I've pasted the attached Word document (to your general feedback ticket) in the editor without stripping the formatting in Chrome and Firefox and saw that it is provided malformed by the clipboard. As explained in this help article RadEditor and the Browser Clipboard, when it comes to cross-application clipboard data transfers (e.g., pasting files, pasting from desktop applications etc.), you should note that the RadEditor handles only the HTML content provided by the browser. Since the HTML is not indented properly it's impossible to correct the bullet indentation and paste clean and well indented content in the editor.

    Best regards,
    Rumen
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  7. Romeo
    Romeo avatar
    3 posts
    Member since:
    Aug 2015

    Posted 21 Sep in reply to Rumen Link to this post

    Are you saying that there's no way to fix it? Any workarounds?

    If it works in IE and Edge, why isn’t it working in Chrome and Firefox?

  8. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 26 Sep Link to this post

    Hi there,

    Please note that it's the browser, which provides the content conversion between the source app (MS Word) and HTML. The different browsers handle the clipboard content differently as you have already noticed.

    RadEditor is just an editable IFRAME/DIV element and as such it only consumes the content provided by the browser as is, without changing it. RadEditor could only strip the MS Word formatting, but it's unable fix the mangled content.


    Best regards,
    Rumen
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017