Commit Graph

84 Commits (b85bdde0edeeeb0a7b9165ce8cecde7f82b52314)

Author SHA1 Message Date
Jeroen Akkerman b85bdde0ed Add button shortcuts and typings 4 years ago
Jeroen Akkerman 8c01edd7cd Merge branch 'master' into dropdown 4 years ago
adamb70 c83c593d58 Use .call() on the sanitize function 4 years ago
adamb70 9d2665b895 Allow custom sanitize function
Update README.md
4 years ago
firm1 b11cd8edb0 don't use down icon 4 years ago
firm1 26d2da9e29 @Ionaru 's review : disable actions on top of dropdown, add dropdown icon and open on clic 4 years ago
firm1 eea2917be1 @situphen 's review 4 years ago
firm1 98fbe56248 allow dropdown menu on toolbar to group secondary buttons 4 years ago
firm1 9ab45526a1 Merge remote-tracking branch 'origin/allow-options' into allow-options
# Conflicts:
#	CHANGELOG.md
4 years ago
firm1 b6301f3976 update Changelog and @situphen 's review ! 4 years ago
Jeroen Akkerman f319bc3096 Merge branch 'master' into allow-options 4 years ago
Jeroen Akkerman b4eca2a3d6 Add name to changelog and add non-breaking option 4 years ago
firm1 4245da6eae add two options inputStyle and nativeSpellcheck 4 years ago
Situphen 0dc4c2697e Differentiate between regular autosave delay and submit autosave delay 4 years ago
Situphen ef213175ce Remove empty localStorage entries 4 years ago
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