I’m currently trying to figure out a way how to override the
Discourse.SiteSettings.min_post_length from a plugin. I tried the following stuff to no avail:
minimumPostLengthin the Composer model to 1. Seems to affect the display of “x characters to go” in the composer, but nothing else.
minimumPostLength: function()to return 0 or 1. Same effect as above. All looks fine, but if I click submit, I end up with this modal dialog:
…and I can’t figure out where this is triggered. I tried to debug into the save method, but the modal dialog comes from some dark place beyond…
Any clues for the clueless? TIA!