As I'm experimenting with getting plain text working, I find myself wishing I had a separate twig template for the HTML vs. plain text cases. Seems like something that could be solved via theme suggestions, right?
No immediate patch yet. Opening this one for discussion, first.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 2971847-5.forward-template-suggestions.patch | 1.18 KB | dww |
Comments
Comment #2
john.oltman commentedI am all for a theme suggestion that would easily allow HTML vs plain text templates. Makes total sense to me.
Comment #3
dwwSomething like this, then? Totally untested, and will probably only apply cleanly after committing the rest of my patches. ;)
Comment #4
dwwMissing PHPDoc.
Comment #5
dwwNow without syntax errors! ;) Actually tested this one. At least works for the format. I haven't also tried the view mode combo, but I assume since I got this far, that much should also work. Probably would be wise to test it before a release, though. ;)
Sorry for the noise!
-Derek
Comment #7
john.oltman commented