0

I am unable to get Inner content(rich text value) of Content Editor web part, Please Provide some code sample on how to do this

  • What have you tried so far yourself? The better you specify your question, the easier and more likely you'll get the answer you need. – Benny Skogberg May 4 '15 at 10:55
0

Refer below code example:

$("textarea[Title='System Description']").closest("span").find("iframe[Title='Rich Text Editor']").blur(function(){
  alert($(this).contents().find("body").html());
});

In which the System Description is the rich text editor.

For more details here is the great sample explained by Marc: Finding the Contents of a SharePoint Rich Text Column with jQuery

Also one thread was answered on Stackoverflow here: Retrieving rich text box sharepoint in javascript

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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