Vinoth Kannan
0a47642003
FIX: Pasted text removing if server unable to parse HTML to Markdown
2017-12-08 13:38:54 +05:30
Vinoth Kannan
858cd3a589
Improvement in composer HTML pasting
2017-12-07 21:08:08 +05:30
Vinoth Kannan
7d88cfde0e
Skip paste handling if composer textarea lost focus
2017-12-06 19:36:13 +05:30
Vinoth Kannan
8cf7152151
FIX: IE compatability issue in clipboard data types array
2017-12-06 01:02:06 +05:30
Vinoth Kannan
6e054b2572
FEATURE: Convert HTML to Markdown while pasting in composer
2017-12-05 12:23:39 -05:00
Vinoth Kannan
4654f076f5
FIX: Drive spreadsheet table not converting to Markdown table
2017-12-05 11:03:33 +05:30
Neil Lalonde
b5a967ab43
lint failure
2017-12-04 14:32:01 -05:00
Vinoth Kannan
ab4c953d82
FEATURE: Paste plain text table as Markdown table
2017-12-04 20:53:42 +05:30
Vinoth Kannan
e2c60ea4b2
FIX: Skip pasting files if plain text available in clipboard
2017-12-02 02:05:11 +05:30
Robin Ward
b9595966d4
FIX: Error applying quotes with blank lines in front
2017-11-20 13:46:19 -05:00
Régis Hanol
62156885ec
UX: remove 🔥 heading and ruler button from composer toolbar
2017-10-20 10:59:31 +02:00
Sam
7f9b0f5e60
try moving shortcut to ctrl+alt+f
2017-10-18 12:20:45 +11:00
Sam
7af1bf32d5
UX: switch global search trigger to ctrl+alt+s
...
Otherwise it conflicts with firefox
2017-10-16 10:01:17 +11:00
Guo Xiang Tan
3e53dbcade
UX: Only include tag hashtag postfix when necessary.
...
https://meta.discourse.org/t/links-to-tags-not-working-in-final-post-unless-autocompleted/69884/6?u=tgxworld
2017-10-03 13:54:50 +08:00
Joffrey JAFFEUX
661ae38a03
FIX: makes sure we only autocomplete valid emoji tones
2017-09-08 09:42:13 +02:00
Sam
889b99552a
FEATURE: allow ctrl+shift+s to open search
2017-08-17 12:57:08 -04:00
Sam
dc4d5677eb
FEATURE: use a when search result is focused to add to composer
2017-08-17 12:39:43 -04:00
Sam
902be91a5a
FEATURE: CTRL+/ to trigger search even from composer
2017-08-02 16:26:03 -04:00
Sam
64d54bc549
FIX: when quoting add a newline
...
so **highlight** > quote
Does not end like:
[quote]
test
[quote]~
2017-07-28 10:49:49 -04:00
Robin Ward
bc3a32385c
FIX: Empty lines should be selected for block quotes
2017-07-21 16:32:29 -04:00
Joffrey JAFFEUX
ce982d9935
enforce that emoji-picker is not active by default
2017-07-19 22:54:57 +02:00
Joffrey JAFFEUX
9664fd7302
fixes es-lint errors
2017-07-19 16:48:23 +02:00
Joffrey JAFFEUX
6de258d4cf
FEATURE: Introduces new emoji-picker
2017-07-19 16:48:23 +02:00
Sam
91a91d57f0
FIX: when quoting always ensure we are on a new line
2017-06-27 13:59:17 -04:00
Sam
e2f57a154b
FIX: blockquote button implementation
...
Previously clicking on blockquote in the middle of sentence
would result in incorrect formatting
2017-06-27 13:32:20 -04:00
Sam
234694b50f
Feature: CommonMark support
...
This adds the markdown.it engine to Discourse.
https://github.com/markdown-it/markdown-it
As the migration is going to take a while the new engine is default
disabled. To enable it you must change the hidden site setting:
enable_experimental_markdown_it.
This commit is a squash of many other commits, it also includes some
improvements to autospec (ability to run plugins), and a dev dependency
on the og gem for html normalization.
2017-06-23 12:01:33 -04:00
Robin Ward
867cefc492
Ember.K was deprecated, so let's remove it.
2017-06-13 15:59:48 -04:00
Robin Ward
74858fd450
FIX: Don't show emoji selector when ending a line with a colon
2017-06-13 14:25:31 -04:00
Joffrey JAFFEUX
f8e5cbd81a
prefer const when not reasigned
2017-06-05 14:33:52 +02:00
Joffrey JAFFEUX
64336a8c75
Emoji 5.0 support
2017-06-05 14:06:23 +02:00
Neil Lalonde
b7322b05a0
FIX: some changes in composer affect all visible text editors
2017-05-05 12:59:45 -04:00
Claas Augner
2e9bbccea9
Move cursor/selection algo to lib/utilities.
2016-12-29 10:16:17 +01:00
Claas Augner
43c1dd82f6
Add cursor tests, fix algorithm and extract method.
2016-12-29 09:54:15 +01:00
Claas Augner
ba2db48dbb
Fix refactoring artifacts.
2016-12-28 22:37:07 +01:00
Claas Augner
1a5fcb72d3
FEATURE: Preserve cursor in editor upload
2016-12-28 22:24:52 +01:00
Kiffin Gish
57284495de
Toolbar action replaceText
...
Should be possible to replace the current contents with some other text.
2016-12-23 12:43:53 +01:00
Robin Ward
e03d5e2140
Reapply Ember 2.10 for good this time!
...
This reverts commit ddd299f4aa .
2016-12-19 11:19:10 -05:00
Robin Ward
ddd299f4aa
Revert "Revert "Revert Ember 2.10+ for a short while""
...
This reverts commit 76bbc481cb .
2016-12-16 10:29:30 -05:00
Robin Ward
76bbc481cb
Revert "Revert Ember 2.10+ for a short while"
...
This reverts commit 21682fd60b .
2016-12-16 09:52:29 -05:00
Robin Ward
21682fd60b
Revert Ember 2.10+ for a short while
2016-12-15 16:43:38 -05:00
Robin Ward
ea3db56d1c
FIX: Mobile raw templates were not being resolved
2016-12-15 10:28:15 -05:00
Robin Ward
28699e66d8
Revert "REVERT: Ember 2.10 -- it's not building properly"
...
This reverts commit 600541c623 .
2016-12-15 10:28:15 -05:00
Robin Ward
600541c623
REVERT: Ember 2.10 -- it's not building properly
2016-12-12 16:19:05 -05:00
Robin Ward
9a7998a930
Various fixes for Ember 2.10
2016-12-12 14:44:29 -05:00
Robin Ward
a808bcb0b8
Upgrade to Ember 2.10
2016-12-12 14:44:29 -05:00
Robin Ward
d98aa48f0d
Remove some preferences views, add extra tests
2016-11-10 15:54:21 -05:00
Robin Ward
70fb2431a1
Migrate this.container to getOwner(this)
2016-11-07 15:21:31 -05:00
Robin Ward
c8282e4ca1
FIX: We're running code outside of the runloop
2016-11-04 10:23:24 -04:00
Robin Ward
e07dfe16d7
FIX: Mentions were refreshing too frequently
2016-10-31 13:19:23 -04:00
Robin Ward
a319cfe77a
Final set of backwards compatible fixes for Ember 1.13
2016-10-28 15:51:39 -04:00
Robin Ward
7953a53cc5
Replace findProperty and filterProperty with findBy and filterBy
2016-10-26 15:45:06 -04:00
Guo Xiang Tan
6b40f2c42c
Add option to apply surround across multilines.
2016-10-14 14:03:00 +08:00
Guo Xiang Tan
90571f0364
FIX: Format selection as multiline code only when selection spans multiple lines.
2016-08-23 15:00:16 +08:00
Guo Xiang Tan
e9927ce5b1
Make eslint happy.
2016-08-23 09:56:24 +08:00
Guo Xiang Tan
f32d8e2882
FIX: Code fences shortcut did not insert newlines before and after backticks.
2016-08-23 09:51:01 +08:00
Gerhard Schlager
1042f1a923
UX: Allow translation of composer icons
2016-08-15 18:57:05 +02:00
Régis Hanol
e848c336bb
FIX: only prevent clicks on links in the preview
2016-07-27 20:53:45 +02:00
Robin Ward
3200d836f7
FIX: After uploading an image the selection was not in the correct spot
2016-07-25 15:31:21 -04:00
Robin Ward
a546395397
REFACTOR: Migrate markdown functionality in ES6
2016-07-11 12:57:05 -04:00
Régis Hanol
ee2780466c
FIX: too many upload placeholders when uploading several files
2016-07-06 17:58:11 +02:00
Guo Xiang Tan
3cb8bbb851
UX: Automatically generate poll name for poll builder.
2016-07-05 22:15:52 +08:00
Guo Xiang Tan
c5a66d4b50
Remove coupling of a composer feature to d editor.
2016-07-04 16:15:36 +08:00
Arpit Jalan
1b80f1ea39
Fix the build :fired:
2016-06-27 01:11:56 +05:30
Arpit Jalan
83309752ae
FEATURE: new site setting 'code formatting style'
2016-06-27 01:00:11 +05:30
Guo Xiang Tan
ff50e59c4f
FIX: Surround passing in the wrong length.
2016-06-17 11:37:16 +08:00
Guo Xiang Tan
95a58b80d7
Clicking on popup menu options should refocus on selected text.
2016-06-17 11:37:16 +08:00
Robin Ward
431179dd25
FEATURE: Prompt users when they are entering duplicate links
2016-06-07 14:47:22 -04:00
Robin Ward
400c061046
Ember.keys is deprected in favor of Object.keys
2016-04-28 16:37:20 -04:00
Neil Lalonde
e5918c7d00
FEATURE: Merge tagging plugin into core
2016-04-27 11:58:53 -04:00
Robin Ward
c948d53d91
UX: Use separate input fields for link and description in d-editor
2016-04-08 16:13:42 -04:00
Sam Saffron
dd65e78431
only trim leading spaces for italic and bold
2016-03-10 23:54:33 +11:00
Sam Saffron
7be90a885c
FIX: bolding text when selection has a leading space
2016-03-10 22:43:48 +11:00
Sam Saffron
f3efe657fa
FEATURE: Automatically add http:// when adding links without them via composer
2016-03-10 18:25:02 +11:00
Robin Ward
396713718b
FEATURE: Adds ~200 more emoji
...
This includes all new emoji from Unicode 7 and Unicode 8 with the
exception of skin tones which will require a new interface.
2016-03-04 15:10:14 -05:00
Robin Ward
08e43588f6
FIX: Autocomplete wasn't properly updating d-editor
2016-03-01 15:17:17 -05:00
Sam
1f688e966d
Merge pull request #4028 from dtchau/fix/more_emoji_autocomplete_issue
...
FIX: Remove existing characters when a new emoji is selected.
2016-02-27 17:00:05 +11:00
Duong Tam Chau
cd84a05600
FIX: Remove existing characters when a new emoji is selected.
...
When the user choose an emoji from the "More..." option, any previously typed character should be discarded.
2016-02-22 20:24:06 -05:00
Robin Ward
f6aa1ac37a
Migrate onToolbarCreate to the DiscourseAPI
2016-02-18 15:23:43 -05:00
Robin Ward
849c99f83d
Remove Discourse.Mobile constants
2016-02-18 12:19:00 -05:00
Sam
3df2ee3431
UX: allow for an optional toolbar in composer in mobile
...
Allows preview of text, emoji, quoting, whisper
2016-02-09 17:10:41 +11:00
Guo Xiang Tan
90100378b8
Extract category hashtag autocomplete into a resuable function.
2016-01-29 10:55:29 +08:00
Guo Xiang Tan
4a7f560a35
FEATURE: Decorate category hashtag links.
2016-01-19 10:58:15 +08:00
Robin Ward
57c3d65777
Change d-editor to use _ instead of * for italics.
2016-01-18 14:54:54 -05:00
Guo Xiang Tan
c60e360c90
FIX: Clashing category slug.
2016-01-13 15:32:29 +08:00
Guo Xiang Tan
d6b5b9436c
UX: Prioritize categories autocomplete with new rules.
2016-01-05 14:59:18 +08:00
Guo Xiang Tan
0096efadc8
💣
2016-01-05 09:52:53 +08:00
Guo Xiang Tan
3af7509945
FIX: Limit number of items for category hashtag autocomplete.
2016-01-05 09:27:57 +08:00
Guo Xiang Tan
c1dbf5c1c4
FEATURE: Autolinking to category using hashtags.
2016-01-05 00:12:24 +08:00
Robin Ward
fd6bbc69e2
FIX: On chrome, focusing on a recently changed textarea would scroll
2015-12-29 14:59:12 -05:00
Robin Ward
3095dd160e
Add slightly_smiling emoji and use it as default smile.
2015-12-22 14:40:49 -05:00
Robin Ward
83be335c54
FIX: Firefox wasn't focusing on d-editor
2015-12-04 12:13:50 -05:00
Robin Ward
8c48c12498
FIX: Inserting link wouldn't clear the text field sometimes
2015-11-27 13:32:11 -05:00
Robin Ward
49bda0b17d
FIX: Improve windows double clicking on words in editor
2015-11-24 13:42:22 -05:00
Robin Ward
c76caca109
FIX: Perform the same operation on multilines in d-editor
2015-11-24 13:03:37 -05:00
Robin Ward
f5b34d5f53
FEATURE: Admin interface for editing email templates
2015-11-19 16:39:34 -05:00
Robin Ward
84a50a1260
FIX: Keyboard handling regression
2015-11-18 12:35:17 -05:00
Robin Ward
8dc0fa97d4
Better behavior When inserting a link with no description
2015-11-17 13:26:55 -05:00
Guo Xiang Tan
e56b3b6a38
UX: Focus composer input after adding text.
2015-11-17 16:42:26 +08:00
Gerhard Schlager
a00c373b6f
UX: Show translated modifier keys in editor shortcuts
2015-11-14 23:13:22 +01:00
Robin Ward
d993f70ed3
FIX: Don't trigger browser keyboard events when d-editor intercepts
2015-11-13 12:31:55 -05:00