discourse/plugins/checklist/assets/javascripts
Sérgio Saquetim a80017ff6a
DEV: add fallback for calling helper.widget decorating cooked content when using the Glimmer Post Stream (#32585)
This commit adds a basic fallback to prevent errors for extensions accessing
`helper.widget` when using `api.decorateCookedElement`.

The purpose of the fallback is provide access to `.widget.attrs`and
`scheduleRerender()` which are common scenarios.

Since the call to the callback happens only when rendering the auto mode
of the Glimmer Post Stream can't detect the existence of these
customizations. The PR also adds a deprecation notice in the console.
2025-05-06 14:13:45 -03:00
..
discourse/initializers DEV: add fallback for calling helper.widget decorating cooked content when using the Glimmer Post Stream (#32585) 2025-05-06 14:13:45 -03:00
lib FIX: replace positive lookbehind on checklist inputrule (#31827) 2025-03-14 07:31:21 -03:00