0

We have enhanced Rick Text column in SharePoint 2013 List. When we enter any text in Edit Source, HTML code is generated.

Due to this our custom code is not working sometimes(when <span> tag is generated).

Can anyone please let me know how to stop generating the HTML code in Enhanced Rich Text(should not change from Enhanced to Plain Text radio button)?

-- Starts here

Code: enter image description here In the Above code if the Edit Source format is only in div tag then no error. If the Edit Source format is as given below: enter image description here

Then the properties() in the code is triggered and goes to the Other CS file as given below.

enter image description here enter image description here

After coming to this Cs file, the Highlighted line is showing error on debugging. The error that we got is: System.ArgumentException: Value does not fall within the expected range. at Microsoft.SharePoint.SPFieldMultiColumnValue.ParseMultiColumnValue(String fieldV

  • Are you creating hyperlinks or something in your multiline rich text field? – Ganesh Sanap Aug 13 '19 at 6:12
  • No. Just adding text only – sushma manne Aug 13 '19 at 6:17
  • And you don't want to make it plain text field? is there any specific reason you don't want to change it to plain text? – Ganesh Sanap Aug 13 '19 at 6:29
  • Yes. Our clients asked not to change it. That was mentioned in the requirement – sushma manne Aug 13 '19 at 7:12
  • ok. What about the custom code you are using? can you add some details or your custom code to your question? – Ganesh Sanap Aug 13 '19 at 7:55

Your Answer

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

Browse other questions tagged or ask your own question.