discourse/app
David Taylor a7cd220704
PERF: Use insertText more efficiently in replaceText (#28880)
Followup to e25578d702

Using execCommand to replace the entire contents of the textarea is very slow for larger posts (it seems the browser does a reflow after every 'virtual keypress'.

This commit updates the `replaceText` function to be more surgical with its `insertAt` calls. Now it only selects & replaces the characters which are actually being replaced.
2024-09-12 16:11:39 +01:00
..
assets PERF: Use insertText more efficiently in replaceText (#28880) 2024-09-12 16:11:39 +01:00
controllers DEV: Refactor suspend/silence user services 2024-09-12 10:28:48 +02:00
helpers DEV: Drop WithServiceHelper 2024-09-05 09:58:20 +02:00
jobs DEV: Remove old problem check system - Part 1 (#28772) 2024-09-06 17:00:25 +08:00
mailers UX: Use a dropdown for SSL mode for group SMTP (#27932) 2024-07-18 10:33:14 +10:00
models DEV: Fix another report flaky (#28868) 2024-09-12 10:34:38 +10:00
policies DEV: Refactor suspend/silence user services 2024-09-12 10:28:48 +02:00
serializers FEATURE: Support designating multiple groups as mods on category (#28655) 2024-09-04 04:38:46 +03:00
services DEV: Refactor suspend/silence user services 2024-09-12 10:28:48 +02:00
views UX: Upgrade to fontawesome 6.6.0 (#28778) 2024-09-09 14:40:56 +01:00