This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/lib
Ben Hadley-Evans 229e1850ab Improve the italic and bold buttons on multiline selections.
This misuses the system that Pagedown has set up somewhat, but it has to in order to affect the content inside the selection. The end behaviour seems to me to be non-buggy and much more obvious to an end user.

Essentially, instead of performing the operation to surround characters on one line, it splits the selection into lines the loops the operation. But usually a single "chunk" is returned with some replacement text and markdown to insert before and after the text. Because we're replacing text inside the selections the before and after are left blank and the selection contains all the changed markdown.
2015-03-20 16:53:44 +00:00
..
emoji FIX: emoji aliases were not recognised 2015-03-16 18:28:11 +01:00
after-transition.js.es6 ES6: Transition helper 2014-08-12 16:33:53 -04:00
app-events.js.es6 FIX: JSHint wasn't validating ES6 files, this fixes a bunch of errors. 2015-02-10 17:21:16 -05:00
autocomplete.js.es6 FIX: JSHint wasn't validating ES6 files, this fixes a bunch of errors. 2015-02-10 17:21:16 -05:00
avatar-template.js.es6 FEATURE: Can specify a list of default_avatars urls. 2015-03-03 16:19:29 -05:00
caret_position.js FEATURE: Quote reply at cursor 2014-06-18 15:17:55 +10:00
click_track.js FIX: clicks counter on attachments wasn't always working 2015-02-22 20:47:18 +01:00
computed.js Upgrade to Ember 1.7.1 + group patch 2014-11-10 14:49:02 -05:00
debounce.js FEATURE: Can search the user directory by name 2015-03-19 18:07:48 -04:00
div_resizer.js Renamed components to lib in the JS project, as Ember has components and they mean something different. 2013-10-24 12:36:46 -04:00
ember_compat_handlebars.js each ... in ... support for ember compat handlebars 2015-01-07 18:18:26 +11:00
export-result.js.es6 FEATURE: download user posts archive 2014-12-24 15:13:48 +05:30
eyeline.js Remove unused variables 2014-03-18 19:09:44 -07:00
formatter.js FIX: damn timezones 2014-11-17 22:53:41 +01:00
highlight-syntax.js.es6 Use pretender's passthrough for dynamically loaded scripts 2015-03-13 12:14:22 -04:00
highlight.js FIX: highlight in yellow, not blue 2014-09-04 15:01:13 +10:00
html.js Revert "Convert html.js to ES6 module format" 2015-01-20 16:13:42 -05:00
is-element-in-viewport.js.es6 FIX: better handling of the 'read guidelines' badge 2015-03-16 19:25:28 +01:00
key_value_store.js FIX: Firefox chucks exceptions on localStorage with cookies disabled 2014-07-09 16:15:52 +10:00
keyboard_shortcuts.js FIX: bookmark topic was not working intuitively 2015-02-19 10:58:57 +11:00
lightbox.js.es6 Replace Discourse.script global with a module 2015-03-09 14:39:39 -04:00
load-script.js.es6 remove hacky protocol code, not needed 2015-03-13 20:50:38 +11:00
Markdown.Editor.js Improve the italic and bold buttons on multiline selections. 2015-03-20 16:53:44 +00:00
markdown.js UX: whitelist OpenStreetMap iframes 2014-11-17 14:30:25 +01:00
mention.js Remove Zalgo API from Discourse.Mention: 2014-04-14 16:51:18 -04:00
mobile.js Feature: Show keyboard shortcuts link on desktop hamburger 2014-07-28 11:48:56 +10:00
notification-levels.js.es6 Remove duplicated NotificationType globals 2015-02-27 10:33:39 -05:00
onebox.js Renamed components to lib in the JS project, as Ember has components and they mean something different. 2013-10-24 12:36:46 -04:00
page_tracker.js FIX: PageTracker was not sending the proper page title through at all 2014-11-05 15:15:58 -05:00
plugin-api.js.es6 Refactored SiteMap/Header to support more dynamic flag counts 2015-03-11 16:12:53 -04:00
probes.js improve probing diag tool, add a clear button 2015-01-05 12:00:55 +11:00
quote.js FIX: Quoting an avatar when default_avatars was set was broken. 2015-03-12 15:51:28 -04:00
screen_track.js BUGFIX: scrolled never ever fired :( 2014-06-10 22:24:52 +10:00
search-for-term.js.es6 FIX: Highlighting was not being applied after some rendering. 2015-02-12 15:37:02 -05:00
sharing.js.es6 extends share links 2015-03-16 16:44:50 +08:00
show-modal.js.es6 FIX: profile picture wasn't properly updating 2015-03-19 19:57:07 +01:00
static-route-builder.js.es6 UX: improved our footer handling 2014-11-19 20:37:43 +01:00
url.js correct comments 2015-03-05 15:09:31 +11:00
user-search.js.es6 Refactor selector components for extensibility 2014-12-18 10:36:58 -05:00
utilities.js Fix CORS issue when avatar url is on S3 2015-02-26 18:34:37 -03:00