Commit Graph

456 Commits (master)

Author SHA1 Message Date
Joh Dokler c428a37ee3 Fix additional edge case for the sideBySideFullscreen=false + status=false bug 3 years ago
Joh Dokler 2a904b24ab Fix the sideBySideFullscreen=false + status=false bug 3 years ago
Jeroen Akkerman f286a6bae5
Merge pull request #250 from danice/scrollbar-styles
Include Codemirror scrollbar style property
4 years ago
Jeroen Akkerman 6209e53c69
Merge pull request #253 from devforth/master
Bugfixes for preview images in editor
4 years ago
Dung Nguyen 65186e4537
Allow modify lineNumbers via config options 4 years ago
Jeroen Akkerman 11f805f0b5 Fix CSS scoping issues (#252) 4 years ago
Jeroen Akkerman 70f3512120
Merge pull request #249 from mbolli/codemirror-autorefresh
include codemirror autorefresh addon
4 years ago
dani 29d2c6c5be fix for undefined scrollbar style 4 years ago
Ivan Borshchov 0c9be85cd7 fix not option 4 years ago
Ivan Borshchov dba3201c79 fix cursor preceise positioning when content with images are loaded into editor, show preview only for images on separate lines (not inlines) 4 years ago
Jeroen Akkerman 6e48fc293c Set `previewImagesInEditor` option to `false` by default
Fixes #251
4 years ago
Daniel Calbet eabb23fd3e using scrollbarStyle option 4 years ago
Michael Bolli c780d5af38 include codemirror autorefresh addon 4 years ago
czynskee 4ce74e904b Added option to supply an additional code-mirror overlay mode 4 years ago
Boris Dalstein 418116c1cc Change default size units from 'b,Kb,Mb' to ' B, kB, MB' (#239) 4 years ago
Ivan Borshchov 2745b03b71 move line to another section ,rollback unneded change 4 years ago
Ivan Borshchov 2c793ee418 Add images preview in edit mode plus add keydown cleanup 4 years ago
Jeroen Akkerman b461979067 Add missing drawUploadedImage export 4 years ago
Jeroen Akkerman 4796a2f5b6
Merge pull request #222 from nick-denry/fix_maxHeight_less_than_minHeight
Fix max height less than min height
4 years ago
Jeroen Akkerman b9b19bb5ff
Merge pull request #225 from JoshuaLicense/pass-context-to-custom-image-upload-function
Pass the MDE context to the custom image function
4 years ago
Jeroen Akkerman 45e409b85e
Merge pull request #224 from JoshuaLicense/fix-image-upload-without-status-bar
Fix calls to updateStatusBar when the status bar is hidden
4 years ago
Nick Denry 8b177f9c05 KISS fix 4 years ago
Joshua License 0fc64ff7f9 Pass the MDE context to the image function
Removes the need to bind the context manually when wanting to access the class methods.
4 years ago
Joshua License 11d210545b Early exit from updateStatusBar if no status bar is available 4 years ago
Nick Denry 55312d8ec3
Fix toTextArea issue
Solves https://github.com/Ionaru/easy-markdown-editor/issues/217
4 years ago
Nick Denry 065a022644 Fix comment 4 years ago
Nick Denry 32e0971483 Fix maxHeight less than minHeight 4 years ago
Jeroen Akkerman 531a0e6227
Merge pull request #204 from firm1/fix_181
forget debug options
4 years ago
firm1 3b831f87a4 forget debug options 4 years ago
Jeroen Akkerman 8212d4901a
Merge pull request #182 from firm1/fix_181
fix #181 : allow saving only on change content
4 years ago
johannes karoff 36d9b238cf adhere to language ascription in highlightjs 4 years ago
firm1 5db44ab734 better debounce 4 years ago
firm1 825c65e204 not an option but a bugfix 4 years ago
firm1 450bead2d1 fix #181 : allow saving only on change content 4 years ago
Nick Denry b23ff6675d Use undefined instead of false 4 years ago
Nick Denry 04ed77f829 KISS fix 4 years ago
Nick Denry 57788bd392 Code style 4 years ago
Nick Denry 82c447cf85 Remove bottom rigth radius for CM-sided 4 years ago
Nick Denry f72d590332 Semantic fix 4 years ago
Nick Denry 4862def4a4 Toggle sideBySide first due to classes set properly 4 years ago
Nick Denry d4cbe44fa4 Set preview height after element is added 4 years ago
Nick Denry f3b1090e53 Adjust sideBySide with no fullscreen and maxHeight option 4 years ago
Nick Denry f85afc44e1 Code style 4 years ago
Nick Denry 1fd1ee2a97 Deal with minHeight option 4 years ago
Nick Denry a61c7198a3 Extra border fix 4 years ago
Nick Denry b7093dabc3 Preview without fullscreen 4 years ago
Jeroen Akkerman 890c72589e Fix checkboxes always have bullets in front of them
Fixes #136
4 years ago
Jeroen Akkerman df3d6511c8
Merge pull request #180 from A-312/no-previous-function
Add `toolbar` variable instead `wrapper.previousSibling`
4 years ago
firm1 24d4cc87af fix #183 : refresh cursor position on activity 4 years ago
A-312 3150f71342 Add `toolbar` variable instead `wrapper.previousSibling`
In my project we customize Easymde and add div between toolbar and wrapper, this break fullscreen feature.
4 years ago
StefKors eec7559aaa Set base z-index to 0 4 years ago
kolaente de1f32bd1f
Fix icon class handling if no custom icon classes are provided 4 years ago
kolaente cc0706bfc2
Also still add custom classes when using custom icon markup 4 years ago
kolaente 85e59747ab
Merge branch 'master' into feature/137-custom-icons 4 years ago
Jeroen Akkerman cca5c07346 Add most recently merged PR (#169) to changelog 4 years ago
Jeroen Akkerman f69b3c37fc
Merge pull request #169 from felipefdl/master
bugfix for IE compatibility, thanks to markedjs/marked#1585 (comment)
4 years ago
Dmitry Mazurov 1e64cba17e Added DateTimeFormat support for autosave.
Signed-off-by: Dmitry Mazurov <dimabzz@gmail.com>
4 years ago
Dmitry Mazurov ad83e77aee Added option time format for autosave (12/24). Added option text for autosave. 4 years ago
Felipe Lima afa35b9e65 bugfix for IE compatibility, thanks to markedjs/marked#1585 (comment) 4 years ago
kolaente 9a20111767
Remove unused empty line 4 years ago
kolaente a12ba4790a
Add support for custom icon markup 4 years ago
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
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
Jeroen Akkerman b31c0a1a02 Added role="button" to toolbar buttons, closes #38 5 years ago
Jeroen Akkerman 75cfd34191 Fix eraser icon not working in FA5 6 years ago
Jeroen Akkerman 604f2c8ea9
Merge pull request #31 from adamb70/master
Fix autosave event handler
6 years ago
Jeroen Akkerman e81e1f2c38 Fix sub-icons issue with FA5 6 years ago
adamb70 7cbfacbbdd Use user autosave delay 6 years ago
adamb70 265b2ed9d4 Update src/js/easymde.js 6 years ago
Summon528 3588edd929
Add fa-redo class for FA5 6 years ago
jeroen.akkerman 34e1a02bbf Merge remote-tracking branch 'origin/master' into development 6 years ago
Jeroen Akkerman cbd638d93a
Super small edit to (hopefully) retrigger CI
CI feedback was broken in this pull request, this small irrelevant edit will hopefully fix that.
6 years ago
pk b8e7293516 Fix fullscreen not working with toolbar: false 6 years ago
jeroen.akkerman 8b6c7de99f Update version for `onToggleFullScreen` option, lint fix & updates. 6 years ago
Jeroen Akkerman 9b735ce20f
Merge pull request #16 from n-3-0/development
Add optional onToggleFullScreen support from options
6 years ago
Jeroen Akkerman 21ef42937c
Merge pull request #13 from sne11ius/development
Add searchcursor plugin
6 years ago
Martin Blom 35b2176bac Made EasyMDE themable (again?).
* The default theme is 'easymde', but can be overridden by options.theme.
* Changed styles to use this theme as selector instead of .CodeMirror.
* Dropped unnecessary .cm-strikethrough styling.
* Added .cm-quote styling.
* Changed .CodeMirror-selected rule to match codemirror.css.
6 years ago
N-3-0 efda8d4a21 n-3-0 : Add optional onToggleFullScreen support from options 6 years ago
jeroen.akkerman 18c03985ea Disabled text multi-select 6 years ago
Cornelius Wichering b60b3cd184 Added searchcursor plugin 6 years ago
Jeroen Akkerman e50bffba36 Links in rendered preview will now open in a new tab by default. 6 years ago
Jeroen Akkerman c8614d9186 Fixed CSS that was broken after my FA5 changes, fixes #9 6 years ago
jeroen.akkerman 0786961de3 Complete rename to EasyMDE 6 years ago
Jeroen Akkerman c34cebefd6 Made entire edit field have `cursor: text`. 7 years ago
Jeroen Akkerman 68601d9d38 Fix guide button not working 7 years ago
Jeroen Akkerman 70236ba68e Use single quotes 7 years ago
Jeroen Akkerman de26368ad1 Set indent style to 4 spaces 7 years ago