2
0
mirror of https://github.com/Ionaru/easy-markdown-editor synced 2025-06-28 13:41:01 -06:00

61 Commits

Author SHA1 Message Date
Sebastián Pérez Pérez
0a5b0d3ac4 Allow custom upload function 2019-07-23 13:35:49 +01:00
Jeroen Akkerman
63a1825b6e Log errors to console.error 2019-07-18 14:46:08 +02:00
Jeroen Akkerman
0558fb0d68 Increase timeout of error message to 10s 2019-07-18 14:29:54 +02:00
Jeroen Akkerman
65af615c9b This PR will close #46 (super small edit to make that comment) 2019-07-18 12:43:10 +02:00
Jeroen Akkerman
917ea336c4 Pre-calculate max file size 2019-07-18 12:01:50 +02:00
Jeroen Akkerman
f1b6a42561 Auto-format of the code 2019-07-18 12:00:32 +02:00
Jeroen Akkerman
6c66b54e2a Improve status bar logic 2019-07-18 11:45:39 +02:00
Jeroen van Oorschot
5f56c27ba7 update changelog 2019-07-16 11:01:05 +02:00
Jeroen van Oorschot
4f581b0c31 Show error message in status bar and reset status bar afterwards. 2019-07-15 22:29:11 +02:00
Jeroen van Oorschot
d9ee9c43d3 Allow server side error messages. 2019-07-15 22:04:02 +02:00
Jeroen van Oorschot
29d145a9b1 Add option for CSRF token on AJAX image upload 2019-07-15 21:39:49 +02:00
Jeroen van Oorschot
c54168a656 Fix status bar. 2019-07-15 15:52:43 +02:00
Jeroen van Oorschot
bbf3340581 IE11 compat. Fix status bar. 2019-07-15 15:11:07 +02:00
Jeroen van Oorschot
d317873fb0 update auxilary files and readme with 2.7.0 2019-07-15 13:24:58 +02:00
Jeroen van Oorschot
ff0db2000a Merge with 2.7.0. 2019-07-15 11:37:22 +02:00
Nathanaël Jourdane
4ae7fc8bc9 Allow openBrowseFileWindow() external call with custom callback 2019-03-13 18:48:36 +01:00
Nathanaël Jourdane
6e35026a75 [wip upload-image] bugfix error message displayed twice 2019-03-12 16:07:55 +01:00
Nathanaël Jourdane
4ac86cc49d [wip upload-image] use more generic error codes, so the server could be used to upload other files than images 2019-03-12 16:07:55 +01:00
Nathanaël Jourdane
5fa549d3b3 [wip upload-image] make onError optionnal 2019-03-11 18:17:29 +01:00
Nathanaël Jourdane
8eff45f7a0 [wip upload-image] image server is now supposed to return a json object 2019-03-11 17:19:27 +01:00
roipoussiere
6c8ce85ea9 Add errorCallback option 2019-03-07 20:41:45 +01:00
Nathanaël Jourdane
d374c5faec [wip upload-image] Better errors support and small code improvements 2019-03-07 18:15:59 +01:00
Nathanaël Jourdane
9f33099b1c Use textContent instead innerHTML when appropriate to avoid XSS 2019-03-07 11:31:48 +01:00
Nathanaël Jourdane
effc080bae [wip upload-image] Allow image upload with copy-paste 2019-03-06 15:36:58 +01:00
Nathanaël Jourdane
fa2c299455 [wip upload-image] Refactoring: remove createImageInput(), set uploadImage() as a prototype, create uploadImages() 2019-03-06 15:35:52 +01:00
Nathanaël Jourdane
ad31ea565c [wip upload-image] Display status messages about image upload in status bar. 2019-03-05 18:08:33 +01:00
Nathanaël Jourdane
3cb4a817f2 [wip upload-image] Allow image upload with drag&drop 2019-03-05 11:44:31 +01:00
Nathanaël Jourdane
e1536da530 [wip upload-image] bugfix error popup 2019-03-05 10:08:01 +01:00
Nathanaël
c7275aa72b
Merge branch 'master' into upload_images 2019-03-05 07:51:29 +01:00
Nathanaël Jourdane
aa39672e4e [wip upload-image] After image upload, insert image markdown template with uploaded image url 2019-03-04 18:10:46 +01:00
Nathanaël Jourdane
3d1e33396f [wip upload-image] Upload image when selecting it on browse-file window 2019-03-04 18:07:59 +01:00
Jeroen Akkerman
dd0e96b204 Improve icon class regex 2019-03-04 17:46:15 +01:00
Nathanaël Jourdane
11e613b3d5 [wip upload-image] Add image icon to open the browse-file window 2019-03-04 17:05:22 +01:00
Jeroen Akkerman
b14d7dda1c Merge branch 'master' into bugfix/simplemde-compatibility 2019-03-04 15:43:47 +01:00
Nathanaël Jourdane
dec5ca1148 Set eslint rule comma-dangle to always-multiline and apply it 2019-02-28 17:29:06 +01:00
Nathanaël Jourdane
96c8c228b5 merge master 2019-02-28 16:01:58 +01:00
Nathanaël Jourdane
1c7ce2a0d4 Fill image and link prompts to 'https://' by default 2019-02-27 17:10:07 +01:00
Jeroen Akkerman
df530cf465 Change markdown guide link to open-source Markdown guide website. 2019-02-27 13:54:27 +01:00
Jeroen Akkerman
4556f4f1d3 Added latin extensions to wordCount pattern, fixes #61. 2019-02-27 11:06:59 +01:00
Jeroen Akkerman
f50c96bc01 Small fixes for this change
* Removed redundant code.
* Renamed function to better reflect its behaviour.
* Marked `noDisable` and `noMobile` as optional.
2019-02-20 01:59:54 +01:00
Jeroen Akkerman
fa9ff580c4 Restore backwards compatibility with SimpleMDE, fixes #41 2019-02-20 01:41:53 +01:00
Jeroen Akkerman
20cd3e4586 Hotfix: change role="button" to type="button"
* Closes issue #45 and properly fixes issue #38
* Added typescript support line to README
* Bumped version to 2.5.1
* Rebuilt dist files
2019-01-17 12:29:45 +01:00
Jeroen Akkerman
b31c0a1a02 Added role="button" to toolbar buttons, closes #38 2018-12-20 01:57:12 +01:00
Jeroen Akkerman
75cfd34191 Fix eraser icon not working in FA5 2018-11-09 14:41:48 +01:00
Jeroen Akkerman
604f2c8ea9
Merge pull request #31 from adamb70/master
Fix autosave event handler
2018-11-09 10:40:50 +01:00
Jeroen Akkerman
e81e1f2c38 Fix sub-icons issue with FA5 2018-11-09 10:37:20 +01:00
adamb70
7cbfacbbdd Use user autosave delay 2018-11-08 18:35:44 +00:00
adamb70
265b2ed9d4 Update src/js/easymde.js 2018-11-08 18:08:27 +00:00
Summon528
3588edd929
Add fa-redo class for FA5 2018-10-06 12:09:16 +08:00
jeroen.akkerman
34e1a02bbf Merge remote-tracking branch 'origin/master' into development 2018-08-14 13:24:14 +02:00