discourse/app
Renato Atilio 85691a7f31
DEV: refactor composer-editor/d-editor, a little more (#29973)
Adds setupEditor to ComposerEditor so it can setup/destroy events when the underlying editorComponent is switched.

Moves putCursorAtEnd uses (which implementation is textarea-specific) to TextareaTextManipulation.

Moves insertCurrentTime and a corresponding test, which is discourse-local-dates specific, to the plugin.

Moves applyList and formatCode from DEditor to the TextareaTextManipulation.

Moves DEditor._applySurround to TextareaTextManipulation.applySurroundSelection

Avoids resetting the textarea value on applyList and formatCode, keeping the undo history.
2024-12-02 18:24:14 -03:00
..
assets DEV: refactor composer-editor/d-editor, a little more (#29973) 2024-12-02 18:24:14 -03:00
controllers DEV: Include controller namespace in X-Discourse-Route (#29783) 2024-11-29 17:11:17 +11:00
helpers
jobs DEV: Drop DISCOURSE_LIVE_SLOTS_SIDEKIQ_LIMIT (#29920) 2024-11-26 07:21:14 +11:00
mailers
models FIX: Rate limiting when moving posts with freeze option (#30041) 2024-12-02 15:48:13 -03:00
serializers FIX: topic post counts for webhook post_destroyed event (#29853) 2024-11-27 11:36:51 -08:00
services DEV: Apply new Rubocop linting on services 2024-12-02 17:31:36 +01:00
views UX: Change the authorize button color to primary (#29666) 2024-11-08 17:33:50 -05:00