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

1203 Commits

Author SHA1 Message Date
Duong Tran
61937dd5ac test: add minHeight to easymde-test 2019-10-19 16:00:18 +11:00
Duong Tran
8436f67dfb feat: add missing minHeight attribute to Option interface 2019-10-16 23:20:50 +11:00
jecsham
72be232395 dev-feature: added example directory with default demo 2019-09-12 20:48:21 -05:00
Jeroen Akkerman
94750c8327
Merge pull request #115 from Ionaru/dependabot/npm_and_yarn/eslint-utils-1.4.2
Bump eslint-utils from 1.4.0 to 1.4.2
2019-08-26 20:37:51 +02:00
dependabot[bot]
2a04d42fb2
Bump eslint-utils from 1.4.0 to 1.4.2
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.4.0...v1.4.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-26 17:18:58 +00:00
Jeroen Akkerman
375ea8026c 2.8.0 2.8.0 2019-08-20 01:10:55 +02:00
Jeroen Akkerman
4032f10999 Updated changelog for 2.8.0 2019-08-20 01:10:39 +02:00
Jeroen Akkerman
981b63cacc Fixed missing link in dist file header 2019-08-20 01:10:31 +02:00
Jeroen Akkerman
7fa4521145 Updated dependencies 2019-08-20 01:05:09 +02:00
Jeroen Akkerman
8fa457e5c6
Merge pull request #97 from getselfstudy/master
Allow html to stay on preview page to make it easier to use with react.
2019-08-20 00:55:45 +02:00
Jeroen Akkerman
aa01768e5e Updated changelog for PR #97 2019-08-20 00:51:44 +02:00
Jeroen Akkerman
815a9ce759 Removed dist files 2019-08-20 00:39:33 +02:00
Jeroen Akkerman
d5d99e166e Merge branch 'master' into html_stay 2019-08-20 00:38:20 +02:00
Jeroen Akkerman
d114dab8a3
Merge pull request #109 from jfly/upload-polish
Upload polish
2019-08-20 00:31:10 +02:00
Jeroen Akkerman
78b2083c9e Updated changelog for PR #109 2019-08-20 00:26:27 +02:00
Jeremy Fleischman
8a2283cf27
Bail out if there are no files to upload.
Without this change, if you either:
  - Click and drag some text into the markdown editor, or
  - Copy paste some text into the markdown editor

The status bar will get updated to say "Uploading image ...", and will
never stop.
2019-07-29 02:54:20 -07:00
Jeremy Fleischman
efb840c633
Fix openBrowseFileWindow to also obey self.options.imageUploadFunction if specified.
I think this part just got missed in
https://github.com/Ionaru/easy-markdown-editor/pull/106.

I'm not sure if I should be doing anything with the `onSuccess` and
`onError` callbacks here.
2019-07-29 02:49:36 -07:00
Jeroen Akkerman
02d6653cc5 Updated changelog for PR #106 2019-07-24 14:58:19 +02:00
Jeroen Akkerman
eb59b22491
Allow custom upload function (#106)
Allow custom upload function

Co-authored-by: Jeroen Akkerman <Jeroen_akkerman1@hotmail.com>
2019-07-24 14:53:27 +02:00
Jeroen Akkerman
509763f3b2 Stricter typings for the onSuccess and onError calls 2019-07-24 14:26:11 +02:00
Sebastián Pérez Pérez
0a5b0d3ac4 Allow custom upload function 2019-07-23 13:35:49 +01:00
dependabot[bot]
a8ee1c7281 Bump lodash.template from 4.4.0 to 4.5.0
Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.4.0...4.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-19 15:01:10 +02:00
Jeroen Akkerman
ad862a6816
Upload images functionality update (#101)
Upload images functionality update

Co-authored-by: Nathanaël <njourdane@irap.omp.eu>
Co-authored-by: Jeroen Akkerman <Jeroen_akkerman1@hotmail.com>
2019-07-19 12:51:54 +02: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
cd7c9b8d4d Fixed errorMessages 2019-07-18 12:56:51 +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
11963829fc Added typings for image upload 2019-07-18 12:35:14 +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 Akkerman
d607dc4a15 Merge branch 'master' into upload_images_2 2019-07-18 11:31:46 +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
Jeroen Akkerman
23cfe89fa0 Run typescript tests automatically 2019-07-13 19:22:16 +02:00
Jeroen Akkerman
66dcf7d868 2.7.0 2.7.0 2019-07-13 19:22:16 +02:00
Jeroen Akkerman
41e9d9a806 Updated changelog for 2.7.0 2019-07-13 19:22:12 +02:00
Jeroen Akkerman
a919391e34
Merge pull request #100 from Ionaru/custom-preview-class
Added option to override the preview screen styling, closes #99
2019-07-13 17:40:01 +02:00
Jeroen Akkerman
7cfeb37257 Added typings for new option 2019-07-12 14:36:59 +02:00
Jeroen Akkerman
71170a7eef Updated changelog for previewClass feature, closes #99 2019-07-12 14:10:56 +02:00
Jeroen Akkerman
5ffeba5a3c Added option to override the preview screen styling 2019-07-12 14:00:23 +02:00
Jeroen Akkerman
073bfbcea5 Updated dependencies and made code comply with new eslint rules 2019-07-11 10:19:42 +02:00
Jeroen Akkerman
912fd584ba
Bump lodash.template from 4.4.0 to 4.5.0 (#98)
Bump lodash.template from 4.4.0 to 4.5.0

Co-authored-by: null <49699333+dependabot[bot]@users.noreply.github.com>
2019-07-11 09:54:31 +02:00
dependabot[bot]
83c18f4971
Bump lodash.template from 4.4.0 to 4.5.0
Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.4.0...4.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-11 02:31:16 +00:00