discourse/app/assets/javascripts/pretty-text
Régis Hanol 84d4dca4ab FIX: morph after all the "decorateCookedElement"
A lot of plugins are using "api.decorateCookedElement" to decorate the cooked preview.

Some of those plugins, like the "image-grid" ([grid]...[/grid]), changes the DOM. We have to call them _before_ morphing otherwise, there's no real point in morphing the preview.

The missing piece was triggering the "decorate-non-stream-cooked-element" application event.
2024-04-10 10:36:20 +02:00
..
addon FIX: morph after all the "decorateCookedElement" 2024-04-10 10:36:20 +02:00
app DEV: Move pretty-text into an ember-addon format (#9689) 2020-05-07 12:37:47 -04:00
.npmrc DEV: Prevent npm usage (#13945) 2021-08-04 22:04:58 +02:00
ember-cli-build.js DEV: Update ember-cli to 4.12.0 (#21074) 2023-04-19 12:58:29 +02:00
index.js DEV: remove markdown-it-bundle and custom build code (#23859) 2023-11-06 16:59:49 +00:00
package.json Build(deps): Bump the babel group with 2 updates (#26502) 2024-04-03 23:47:13 +02:00