mirror of
https://ghfast.top/https://github.com/discourse/discourse-signatures.git
synced 2026-05-02 17:45:08 +08:00
* FEATURE: Add decorateCookedSignature plugin API method
Adds a new plugin API method that allows themes and plugins to
decorate signature content, similar to decorateCookedElement for
posts and decorateChatMessage for chat messages.
Usage:
api.decorateCookedSignature((element, helper, post) => {
// modify signature element
});
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Gabriel Grubba <gabriel@discourse.org>
|
||
|---|---|---|
| .. | ||
| decorate-cooked-signature-test.gjs | ||