We have a solution with a lot of customization. At some point something was added that breaks the rich text editor because now I cannot paste from clipboard using either Ctrl+V or the "Paste" ribbon button.

When I try to paste I get this error:

Could not complete the operation due to error 800a025e

Does anyone know what it means in this context and how I may go about fixing it?

1 Answer 1


SharePoint rich text fields support copy & paste by using an iframe dynamically inserted into the body tag. Manipulating this iframe or any of its content may cause error 800a025e thrown by SP.UI.RTE.debug.js.

Searching through SP.UI.RTE.debug.js for "pasteDiv" should help you debugging this issue, as the inserted iframe contains a DIV with id "pasteDiv".

I was able to recreate your error by manipulating the inserted iframe (setting display: none in css).

  • 1
    It seems the error was caused by setting body > iframe {display: none;} as you said. Removing the declaration fixed the issue.
    – Thomas
    Oct 8, 2012 at 13:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.