json icon indicating copy to clipboard operation
json copied to clipboard

Getting the <p> tags from a Textarea EE field

Open vladyn opened this issue 4 years ago • 0 comments

Hi Everyone, I'm using this marvelous plug-in to expose something like rest API to be consumed from a Web App. One thing I've noticed though (and have to say - makes things much complicated). When I have an output from a text area of type rich text from a channel - the plug-in strips out the p tags and leaves only the texts, but adds any other HTML tags like h2, h3, etc. My question is: how to get the same output from this field as you see it in EE CP when editing an entry and click "view code" Screenshot 2021-04-14 at 10 55 05

vladyn avatar Apr 14 '21 07:04 vladyn