Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

ExternalClass in Enhanced Rich Text Fields

  Asked By: Charmaine    Date: Apr 23    Category: Sharepoint    Views: 9582

Every time I insert enhanced rich text in a field in SharePoint and
save it, SharePoint inserts DIV tags with an external class reference
around my content.

Why does it do this? Where is this class? What does it specify?

<DIV class=ExternalClass0FDCEC8AB5C54D54803CA753F22E6D0F>

Any clues? I can find nothing online.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Ashita Patel     Answered On: Sep 30

You can use Regex.Replace(currentItem["Your Field Name"].ToString(), "<.*?>", string.Empty); Basically this will replace your div tag with empty string so you will get your plain text

 
Didn't find what you were looking for? Find more on ExternalClass in Enhanced Rich Text Fields Or get search suggestion and latest updates.




Tagged: