Jeroen Akkerman
d5d99e166e
Merge branch 'master' into html_stay
5 years ago
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.
5 years ago
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.
5 years ago
Sebastián Pérez Pérez
0a5b0d3ac4
Allow custom upload function
5 years ago
Jeroen Akkerman
63a1825b6e
Log errors to console.error
5 years ago
Jeroen Akkerman
0558fb0d68
Increase timeout of error message to 10s
5 years ago
Jeroen Akkerman
65af615c9b
This PR will close #46 (super small edit to make that comment)
5 years ago
Jeroen Akkerman
917ea336c4
Pre-calculate max file size
5 years ago
Jeroen Akkerman
f1b6a42561
Auto-format of the code
5 years ago
Jeroen Akkerman
6c66b54e2a
Improve status bar logic
5 years ago
Jeroen van Oorschot
5f56c27ba7
update changelog
5 years ago
Jeroen van Oorschot
4f581b0c31
Show error message in status bar and reset status bar afterwards.
5 years ago
Jeroen van Oorschot
d9ee9c43d3
Allow server side error messages.
5 years ago
Jeroen van Oorschot
29d145a9b1
Add option for CSRF token on AJAX image upload
5 years ago
Jeroen van Oorschot
c54168a656
Fix status bar.
5 years ago
Jeroen van Oorschot
bbf3340581
IE11 compat. Fix status bar.
5 years ago
Jeroen van Oorschot
d317873fb0
update auxilary files and readme with 2.7.0
5 years ago
Jeroen van Oorschot
ff0db2000a
Merge with 2.7.0.
5 years ago
Andreas Richter
f831662fdd
Allow html to stay on preview page.
5 years ago
roryok
c75a5edc1e
remove console logging
5 years ago
roryok
8c443bf401
fix: untoggle ordered-list items first when toggling unordered-list items
5 years ago
Jeroen Akkerman
cc0c211759
Fixed shortcut code so links are opened as well.
5 years ago
ysykzheng
9e94709192
fix custom action shortcut not working
5 years ago
Nathanaël Jourdane
4ae7fc8bc9
Allow openBrowseFileWindow() external call with custom callback
5 years ago
Nathanaël Jourdane
6e35026a75
[wip upload-image] bugfix error message displayed twice
5 years ago
Nathanaël Jourdane
4ac86cc49d
[wip upload-image] use more generic error codes, so the server could be used to upload other files than images
5 years ago
Nathanaël Jourdane
5fa549d3b3
[wip upload-image] make onError optionnal
5 years ago
Nathanaël Jourdane
8eff45f7a0
[wip upload-image] image server is now supposed to return a json object
5 years ago
roipoussiere
6c8ce85ea9
Add errorCallback option
5 years ago
Nathanaël Jourdane
d374c5faec
[wip upload-image] Better errors support and small code improvements
5 years ago
Nathanaël Jourdane
9f33099b1c
Use textContent instead innerHTML when appropriate to avoid XSS
5 years ago
Nathanaël Jourdane
effc080bae
[wip upload-image] Allow image upload with copy-paste
5 years ago
Nathanaël Jourdane
fa2c299455
[wip upload-image] Refactoring: remove createImageInput(), set uploadImage() as a prototype, create uploadImages()
5 years ago
Nathanaël Jourdane
ad31ea565c
[wip upload-image] Display status messages about image upload in status bar.
5 years ago
Nathanaël Jourdane
3cb4a817f2
[wip upload-image] Allow image upload with drag&drop
5 years ago
Nathanaël Jourdane
e1536da530
[wip upload-image] bugfix error popup
5 years ago
Nathanaël
c7275aa72b
Merge branch 'master' into upload_images
5 years ago
Nathanaël Jourdane
aa39672e4e
[wip upload-image] After image upload, insert image markdown template with uploaded image url
5 years ago
Nathanaël Jourdane
3d1e33396f
[wip upload-image] Upload image when selecting it on browse-file window
5 years ago
Jeroen Akkerman
dd0e96b204
Improve icon class regex
5 years ago
Nathanaël Jourdane
11e613b3d5
[wip upload-image] Add image icon to open the browse-file window
5 years ago
Jeroen Akkerman
b14d7dda1c
Merge branch 'master' into bugfix/simplemde-compatibility
5 years ago
Nathanaël Jourdane
dec5ca1148
Set eslint rule comma-dangle to always-multiline and apply it
5 years ago
Nathanaël Jourdane
96c8c228b5
merge master
5 years ago
Nathanaël Jourdane
1c7ce2a0d4
Fill image and link prompts to 'https://' by default
5 years ago
Jeroen Akkerman
df530cf465
Change markdown guide link to open-source Markdown guide website.
5 years ago
Jeroen Akkerman
4556f4f1d3
Added latin extensions to wordCount pattern, fixes #61 .
5 years ago
Jeroen Akkerman
f50c96bc01
Small fixes for this change
...
* Removed redundant code.
* Renamed function to better reflect its behaviour.
* Marked `noDisable` and `noMobile` as optional.
5 years ago
Jeroen Akkerman
fa9ff580c4
Restore backwards compatibility with SimpleMDE, fixes #41
5 years ago
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
5 years ago