discourse/app/assets/javascripts
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
..
admin DEV: Update ember-resolver to 13.0.0 (#28876) 2024-09-12 12:09:11 +02:00
custom-proxy Build(deps-dev): Bump express from 4.19.2 to 4.20.0 (#28832) 2024-09-11 02:02:58 +02:00
deprecation-silencer DEV: Reformat package.json files (#28733) 2024-09-04 21:14:13 +02:00
dialog-holder Build(deps): Bump a11y-dialog from 8.1.0 to 8.1.1 (#28813) 2024-09-10 09:46:38 +02:00
discourse PERF: Use insertText more efficiently in replaceText (#28880) 2024-09-12 16:11:39 +01:00
discourse-common DEV: Update ember-resolver to 13.0.0 (#28876) 2024-09-12 12:09:11 +02:00
discourse-hbr DEV: Reformat package.json files (#28733) 2024-09-04 21:14:13 +02:00
discourse-i18n DEV: Reformat package.json files (#28733) 2024-09-04 21:14:13 +02:00
discourse-markdown-it UX: Upgrade to fontawesome 6.6.0 (#28778) 2024-09-09 14:40:56 +01:00
discourse-plugins DEV: Reformat package.json files (#28733) 2024-09-04 21:14:13 +02:00
discourse-widget-hbs DEV: Update ember-resolver to 13.0.0 (#28876) 2024-09-12 12:09:11 +02:00
docs
ember-addons
ember-cli-progress-ci PERF: Improve production JS build in low-memory environments (#26849) 2024-05-02 11:43:59 +01:00
ember-production-deprecations DEV: Update ember-cli-deprecation-workflow from 2.2.0 to 3.0.1 (#28226) 2024-08-07 17:59:42 +02:00
float-kit DEV: Update ember-resolver to 13.0.0 (#28876) 2024-09-12 12:09:11 +02:00
locales FEATURE: Add Uyghur language (#27183) 2024-05-27 09:58:18 +02:00
pretty-text DEV: Update ember-resolver to 13.0.0 (#28876) 2024-09-12 12:09:11 +02:00
select-kit DEV: Update ember-resolver to 13.0.0 (#28876) 2024-09-12 12:09:11 +02:00
theme-transpiler Build(deps): Bump babel-plugin-ember-template-compilation (#28812) 2024-09-10 09:45:56 +02:00
truth-helpers DEV: Reformat package.json files (#28733) 2024-09-04 21:14:13 +02:00
.npmrc
handlebars-shim.js
polyfills.js
service-worker.js.erb DEV: Drop workbox dependency (#26735) 2024-04-24 10:19:12 +01:00