I needed a general formatter for simple fields of type text, decimal and number that would wrap the output in a custom tag/class. I didn't find a module like that so I thought I would path Text Formatter to add this functionality.

Comments

peter törnstrand’s picture

StatusFileSize
new3.2 KB

And here is the patch.

damiankloip’s picture

ok, so this wraps the field contents in a tag, not as a list or anything?

peter törnstrand’s picture

Yes, exactly.

jedihe’s picture

Hi, I think a patch I just published can be of help for this situation, please check it out: #1418056: Add support for custom separator (patch)

damiankloip’s picture

I don't think that issue is related to this one at all. So not sure how this will help here tbh.

damiankloip’s picture

Status: Active » Closed (works as designed)

I think textformatter should just be about formatting lists. Sorry :)