discourse/app
David Taylor 75d9c16156
DEV: Remove jquery from textarea-manipulation, improve undo handling (#17050)
This commit removes many uses of `this._$textarea`, and also switches us to use `document.execCommand("insertText")` for the majority of manipulations. This means that the browser undo history will be preserved when doing things like pasting rich html, using bold/italic shortcuts, etc.

These manipulations are already extensively tested. This commit extends a few of the tests to verify the undo behavior.

There are still a few cases (e.g. replacing upload placeholders with true URLs) where we don't necessarily want to bring the composer into focus. In those cases, the old history-breaking behavior remains for now.
2022-06-10 10:42:50 +10:00
..
assets DEV: Remove jquery from textarea-manipulation, improve undo handling (#17050) 2022-06-10 10:42:50 +10:00
controllers DEV: include time_left information in rate limiting error messages (#17037) 2022-06-08 14:30:41 +05:30
helpers FIX: Do not use SVGs for twitter:image metadata (#16973) 2022-06-03 09:02:57 +10:00
jobs FEATURE: Create upload_references table (#16146) 2022-06-09 09:24:30 +10:00
mailers FIX: respect user timezone in emails about silencing and suspending (#16918) 2022-05-27 13:58:54 +04:00
models FEATURE: Create upload_references table (#16146) 2022-06-09 09:24:30 +10:00
serializers DEV: Add choices only to relevant wizard fields (#16993) 2022-06-06 15:22:44 +08:00
services FIX: Send quote notifications to correct users when prioritizing full names (#17030) 2022-06-09 11:52:28 -05:00
views FEATURE: Promote polymorphic bookmarks to default and migrate (#16729) 2022-05-23 10:07:15 +10:00