3
Views
1
Comments
Input a data text

Hi, I created a feature to save data in text form using CKeditor input.  When I save data, in the database the text I save is stored between <p></p>, so that when I want to display the data <p> also appears.  How do I remove <p> from being saved? Or when i show the data,  <p> is not appear? 

2025-03-04 14-45-15
Andre Sousa

Hey Soo,

Did you checked if this discussion that is related with your post can help ?

CK Editor Remove Tags

If not, you can use the function HtmltoText from HtmlUtils(Extension) of dependencies of your application to remove the tags. 

Best Regards

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.