Template request: Text to Table

It would be very useful to have a template that would enable you to paste a bunch of formatted text (think documents like Privacy policy) and basically extract elements by format (H1, H2, paragraph, etc.) and put them into individual rows of a table.

Currently, when you paste bunch of text into a table, it will divide it into new rows by new lines, which is not always the wanted behaviour.

Hey Tomislav, and Happy Birthday! :partying_face:

I have some templates that are somewhat close but not exactly what you need. In pretty much all cases I’m using “black magic” to read line formatting from the object that represents rich text (ranges in the current gen editor and slate in the next gen editor).

If you’re dealing with actual HTML you can as well tokenize it — I built it on a Patron stream (somewhere closer to the end lol)

1 Like