We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Image pasting does not work with PasteCleanup module


I'm using the Rich Text Editor and found this error.

Step 2: Choose Format Option as "Keep Format".
Step 3: Turn on Chrome DevTools
Step 4: Have an image in clipboard E.g. by screen capture, or copy from inside a MS Word document.
Step 5: Paste into the demo editor.
Step 6: Observe the editor and DevTools console.

Result: Image was not pasted, console has logged error:

build.js:70 Uncaught TypeError: Cannot read property 'createElement' of undefined
    at Object.e.imageFormatting (build.js:70)
    at e.createImage (build.js:70)
    at e.imageCommand (build.js:70)
    at e.notify (build.js:1)
    at e.execCommand (build.js:70)
    at Object.callBack (build.js:70)
    at FileReader.<anonymous> (build.js:70)

2 Replies

NP Narayanasamy Panneer Selvam Syncfusion Team August 29, 2019 08:54 PM UTC

Hi Keith, 
Good day to you. 
Already we have confirmed reported issue as bug from our end. It has reported through another forum 
https://www.syncfusion.com/forums/146927/. Fix for this issue will be included in upcoming patch release. 
You can now track the current status of your request, review the proposed resolution timeline and can contact us for any further inquiries through the feedback link, 
Narayanasamy P. 

PM Pandiyaraj Muniyandi Syncfusion Team October 6, 2019 06:38 PM UTC

Hi Keith, 
We have resolved the reported issue “Uncaught TypeError during Image pasting with PasteCleanup module” and included in the release version 17.3.9-beta
We suggest you upgrade to the latest package to resolve this issue.

Pandiyaraj M 

Live Chat Icon For mobile
Up arrow icon