Completed
Last Updated: 19 Jun 2020 13:53 by ADMIN
Release R2 2020
Lei
Created on: 21 Feb 2020 10:55
Category: Editor
Type: Bug Report
0
ConvertWordLists errors out when pasting bullets in a nested table inside another table from Word

ConvertWordLists errors out when pasting bullets in a nested table inside another table from Word. 

Test with the attached word doc in the https://demos.telerik.com/aspnet-ajax/editor/examples/cleaningwordformatting/defaultcs.aspx demo and you'll get the following error:

RadEditor.js:17416 Uncaught TypeError: Cannot read property 'appendChild' of null
    at b.WordListConverter.insertList (RadEditor.js:17416)
    at b.WordListConverter.convert (RadEditor.js:17570)
    at Object.convertWordLists (RadEditor.js:257)
    at Object.cleanPastedContent (RadEditor.js:146)
    at c.RadEditor._onAfterPaste (RadEditor.js:10229)
    at c.RadEditor.afterPasteDelegate (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_QsfScriptManager_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3ad28568d3-e53e-4706-928f-3765912b66ca%3aea597d4b%3ab25378d2:6)

 

Attached Files:
1 comment
ADMIN
Rumen
Posted on: 21 Feb 2020 10:59

Hi Lei,

Thank you for reporting this defect of the ConvertWordLists paste setting.

We will try to fix the problem and improve the ConvertWordLists feature, but until this the available options are to paste the content as is it gets provided by the clipboard by setting StripFormattingOptions="NoneSupressCleanMessage".

Another approach is to continue stripping the MS Word formatting StripFormattingOptions="MSWord" but without enabling the ConvertWordLists option.

Best Regards,
Rumen
Progress Telerik

Get quickly onboarded and successful with UI for ASP.NET AJAX with the Virtual Classroom technical trainings, available to all active customers. Learn More.