Commit Graph

276 Commits (1fd1ee2a9740e9166a48802e53bbbee2e4b563d3)

Author SHA1 Message Date
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 6 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
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 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
Jeroen Akkerman e5f39d6bfa Pls don't go away again... 7 years ago
Jeroen Akkerman 745f38ceda Guide button should not be disabled when preview is active. 7 years ago
Jeroen Akkerman 24fae9d68f Changed link and image defaults to `https://` 7 years ago
Jeroen Akkerman e45dcec53f Added newline back to end of file (IDE mistake) 7 years ago
Jeroen Akkerman 7b147b3148 Added FontAwesome 5 compatibility without breaking FontAwesome 4 compatibility. 7 years ago
Jeroen Akkerman 60a4bb6392 Fix linting errors so project actually builds. 7 years ago
Wes Cossick 93e876562f Merge pull request #520 from stadtgestalten/translatable-prompt-texts
allow promptTexts to be translated via options
7 years ago
Wes Cossick ee11454138 Merge pull request #530 from awjecc/AllowToDisableSyncingScrollViaOptions
Allow to disable syncing scroll in side-by-side mode via options
7 years ago
Tsubasa 5d1648a510 Rename syncPreviewSideScroll to syncSideBySidePreviewScroll 7 years ago
Wes Cossick 547ddfd9d5 Merge pull request #532 from stephenoakman/514-mobile-text-selection
Defaulting styleSelectedText to false if on a mobile device
7 years ago
Wes Cossick 0b4b70a4a2 Merge pull request #527 from luclu/fix-sideBySide-fullscreen-toggle
Fix toggleFullscreen() if icon is hidden
7 years ago
Stephen Oakman c0dc7abb73 Defaulting styleSelectedText to false if on a mobile device 7 years ago
Tsubasa 775e448518 Allow to disable syncing scroll in side-by-side mode via options 7 years ago
Luca Zeug 18f8256a4a Fix toggleFullscreen() if icon is hidden 7 years ago
James Sinclair 4bf96ffd32 Addressing accessibility issues with using links instead of buttons. 7 years ago
Konrad Mohrfeldt 125200fb35 allow promptTexts to be translated via options 7 years ago
Mummakill b9071f0c91 Fix multiline numbered list function 8 years ago
Wes Cossick b5407e01e0 Fix typo in code 8 years ago
Wes Cossick 7e58a01a35 Merge pull request #404 from hansottowirtz/fix_399
Fix preview not rerendering when setting value
8 years ago
Hans Otto Wirtz 568da438c6 Fix preview not rerendering when setting value 8 years ago
Wes Cossick c2ca78c46b Rebuild project 8 years ago
Wes Cossick a1fd3255f9 Merge pull request #395 from lukasz89/togglelists
Fix lists exchanges
8 years ago
Lukasz Ostrowski d44eea64e3 commit dist files 8 years ago
Simon a987a8bb64 Added a parameter to pass in highlight.js in from the renderConfig
Previously, if you wanted to use highlight.js to render the preview, you had to have hljs on the window object. In practice, this is poor and negates many of the
principles behind using Browserify. By injecting it in as a parameter, this means the client can avoid adding things to their global scope if they don't/can't
avoid that.

This is a non-breaking change, only adding a new option to an existing API. The default behaviour is unchanged
8 years ago
Lukasz Ostrowski 6787ae706e list toggle fix 8 years ago
Lukasz Ostrowski 61991d1e7d list toggle fix 8 years ago
Lukasz Ostrowski c849cc95b2 list toggle 8 years ago
Wes Cossick 580a4b0286 Merge pull request #382 from jonatanklosko/issue-98
Fix bug with inserting links and undoing things.
8 years ago
Jonatan Kłosko 6250a7d7e7 Fix bug with inserting links and undoing things. 8 years ago
Jonatan Kłosko 517d5ee249 Add an option indicating a minimal height of the editable area. 8 years ago
Josh Schonstal b0b2f1d4a3
Allow user to configure marked options 8 years ago
Wes Cossick 487ff36385 Rebuild project 8 years ago
Wes Cossick d963582f16 Fix line and word count on init (#299) 8 years ago
Wes Cossick 69bff3ed78 Fix CodeMirror bug with init text (#344) 8 years ago
Wes Cossick b4d4e89129 Fix selection bug when toggling between side-by-side (#309) 8 years ago
Wes Cossick c8f23a3aa9 Clean up build process, Use new CodeMirror Spell Checker 8 years ago
Wes Cossick 51ef0cd81d Merge pull request #351 from amka/patch-2
Add support for count Cyrillic words
8 years ago
Andrey M bd33cd3c2b Add support for count Cyrillic words
Add unicode range for Cyrillic characters
8 years ago
Jason Butz 7187fb26fb Adjust whitespace characters 8 years ago
Jason Butz f21cca3068 Prevent onclick event from bubbling 8 years ago
Wes Cossick e72e51c94f Merge pull request #297 from prostoandrei/development
Fix #286
8 years ago
andrey.vaganov fe1318dd39 fix issue #286 8 years ago
Kasparas Galdikas 490e57ded1 Added mark-selection plugin from CodeMirror with config option on simplemde 8 years ago
Kasparas Galdikas be3fbf15b5 Removed console.log left overs 8 years ago
Wes Cossick 24ec612c44 Fix linting and update dependencies 8 years ago
Wes Cossick 747b3ef065 Rebuild project 8 years ago
Wes Cossick 26391efa26 Better localStorage detection 8 years ago