Very difficult to test on old versions. This was made to work on latest tests-passed. It is very possible it is simply not compatible with older Discourse instances.
Are you getting a javascript error in the console? That might be causing the incomplete render. This is not a styling Component
Very occasionally Core does such a big change that the required override has to be altered in a way that doesnât support the older codebase. That said my PR included a lot of very careful overrides that should be robust to changes in core. You can only do so much though.
Yep, thatâs a pretty basic incompatibility. Decorators are being imported from a new location now because the old import location has been deprecated. Itâs likely that location doesnât exist on your old install.
I suggest you wait for your Discourse to be updated to a more modern version.
I believe Theme branching works, so you could maintain 3 branches on the same Theme (tests-passed, beta & stable)
However, that will not catch everyone and itâs a lot of additional work to maintain and keep things working especially if the maintainer is a volunteer.
Thanks @merefield. I thought that branching might confuse so created a new repository - just to check if it removes the version dependencies for @Ryan_NR?
I just realized that this text shows up when youâre replying to a post, not just for creating a topic. Which, at least in my scenario does not work particularly well, is there any possibility for it to only show when creating a topic in the same way the topic template works now?
Thanks Robert. No just as described - in the same way the original works. It should only do the conversion to display it as placeholder text if the custom template text matches the text that is in the composer.
That was why I did the JQuery hack in the first place as I could only work out how to do that check once it had rendered?
This happens if I go to a topic that has custom template. I start a draft. Then I leave the site. I come back to the site - click on my avatar logo top right and name - and click Drafts
I then click Resume on the draft that was saved.
The text doesnât appear - instead I get the placeholder text.