Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer 1

up vote 4 down vote accepted

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).

share|improve this answer
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 '12 at 13:20
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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