mirror of
https://github.com/discourse/discourse.git
synced 2024-12-19 22:04:30 +08:00
85691a7f31
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. |
||
---|---|---|
.. | ||
admin | ||
custom-proxy | ||
deprecation-silencer | ||
dialog-holder | ||
discourse | ||
discourse-common | ||
discourse-hbr | ||
discourse-i18n | ||
discourse-markdown-it | ||
discourse-plugins | ||
discourse-widget-hbs | ||
docs | ||
ember-addons | ||
ember-cli-progress-ci | ||
ember-production-deprecations | ||
float-kit | ||
locales | ||
pretty-text | ||
select-kit | ||
theme-transpiler | ||
truth-helpers | ||
.npmrc | ||
handlebars-shim.js | ||
polyfills.js | ||
service-worker.js.erb |