Hello!
Is there a way to convert one rich field to text within the same collection? Perhaps using hooks or any other code? I would like to extract text only out of html
Hello!
Is there a way to convert one rich field to text within the same collection? Perhaps using hooks or any other code? I would like to extract text only out of html
Hi Abe,
Yes, you can use a before or after hook that will parse rich text and store it in a new field as plain text.
Note that there is an NPM module exactly for this task - ‘html-to-text’
Learn how to use NPM modules here
Thanks @admin-23 ! I’ll give it a try