Commit Graph

405 Commits (master)

Author SHA1 Message Date
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
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
Wes Cossick 711af1b472 Merge pull request #264 from NextStepWebs/pr/256
Pull request #256 remove conflicts
8 years ago
Wes Cossick 1a79eefadb Hide trailing separators respects hidden icons 8 years ago
Wes Cossick 6bda28300d Fix single line breaks bug 8 years ago
Wes Cossick 787ed40fe6 Update URLs to use SimpleMDE.com 8 years ago
Curtis Badke 20f5b54a46 Fix naming and style based on feedback
* forceSynch -> forceSync
* change documentation description
8 years ago
Curtis Badke 0fb087ca38 Add forceSynch option which will autosave to textarea.
Since this is built on CodeMirror I opted to use CodeMirror's save
behaviour rather than pulling the value and stomping on the textarea's
innerHtml.

Fixes #193
8 years ago
Laszlo Moczo 5a53199586 Optional prompt windows to Link and Image 8 years ago
Laszlo Moczo eb568ddbde Merge remote-tracking branch 'NextStepWebs/development' into development 8 years ago
Dave Brondsema 2c09c829ee When selecting lines within a fenced block, check if selection reaches a fenced line 8 years ago
Dave Brondsema 5e204ae66e Update token state checking to work when spellcheck is on 8 years ago
Dave Brondsema bce5372947 Context aware code button to handle toggling on and off code blocks and inline code markup 8 years ago
Laszlo Moczo 26519235c6 Optional prompt windows to Link and Image
Optional prompt windows to Link and Image
8 years ago
trwired fd8e6a7825 Allow reverting back to the initial textarea (fixes #142) 8 years ago
trwired da5e309ffe fixes #196 8 years ago
Wes Cossick 3da94ef677 Better separator display/hide logic 8 years ago
Wes Cossick 6b6bb408cf Refactor custom status bar items 8 years ago
Ryan Graham 7bc2cb3c41 Add support for custom options in status bar 8 years ago
Adam Misiorny 62caea601e improve get state, add public getter 8 years ago
Wes Cossick 7aedb8623a Fix options undefined bug when clearing autosave value
Occurred when the autosave option was not present and a user tried to clear the autosaved value.
8 years ago
trwired 131e5d8beb Included info on configuring and using custom keyboard shortcuts 8 years ago
trwired b61c64d63c Resolved merge conflict with upstream 8 years ago
Wes Cossick eccfbe5f20 Merge pull request #224 from adam187/feature/clean-block
Clean block feature
8 years ago
Adam Misiorny 664c081876 cs fixes 8 years ago
Adam Misiorny 144d724a41 update clean block pattern 8 years ago
Adam Misiorny 8469cbc839 add clean block feature 8 years ago
Igor Kalat 16042564a1 Gives users the ability to change editor's keyboard shortcuts 8 years ago
Wes Cossick 2bac0bbcec Merge pull request #220 from adriaanzon/development
Fix table spacing
8 years ago
adriaanzon aa2ebfe983 Fix table spacing
Removed an extra space that caused the tables to be wrongly aligned, when the table button was pressed.
8 years ago
Jamie Wohletz 2f24d571b0 Undo + Redo buttons are no longer added by default 8 years ago
Jamie Wohletz 68be24121f Added undo and redo buttons to toolbar 8 years ago
Wes Cossick 0ce602f68d Merge pull request #211 from 7upcat/master
Fix #206 added useSideBySideListener
9 years ago
7cat 9fb97e0d5e Fix #206 added useSideBySideListener 9 years ago
7cat e27a0933a3 Added useSideBySideListener avoid duplicate cm update 9 years ago
7cat e96fddffcb Update simplemde.js 9 years ago
郑哲明 4fe8ad6cdf Fix bug related with issue #206
When user click 'toggleSideBySide'  button will always register a new
'update' listener .Modify the logic if toggle on register a listener  if
toggle off  remove the listener.
9 years ago
Wes Cossick e89b0e4049 Merge pull request #207 from vladson/master
Add characters count to status bar.
9 years ago
Vladislav Bogomolov 6c61b1a4aa Add characters count to status bar. 9 years ago
郑明明 b9f77e0bea Adding support for asciidoctor
A editor that can edit asciidoctor online .....
It seems the performance of the editor is not good.
9 years ago
Adam Misiorny c92f4e3bd3 change single quotes to double quotes 9 years ago
Adam Misiorny f891cfb787 add placeholder option 9 years ago
Wes Cossick d30d9b7d00 Fix initial value overwriting autosaved value 9 years ago
Wes Cossick 36f97604f4 Refactor default toolbar organization; Allow showIcons setting (#170) 9 years ago
Wes Cossick 4dbe95fe80 Fixes #163 where tabbing through form would land on icons 9 years ago
Wes Cossick 396de5f46c Fix #167 where escape key wouldn't always work 9 years ago
Wes Cossick 170cbd0b2f Merge pull request #185 from adam187/feature/block-styles
add ability to set up markup for bold and italic
9 years ago
Adam Misiorny 54fa76d798 update condition 9 years ago
Adam Misiorny abedc7371d add ability to set up markup for bold and italic 9 years ago
Adam Misiorny c7c940c614 fix condition for checking unique_id in autosave option when autosave is not defined 9 years ago
Qumber 342e853c19 Added support for tables 9 years ago
Wes Cossick a64f07e1c3 Autosave improvements (see description)
Checks that localStorage is available for all features, logs error if
not
Added function to clear the autosaved value
Prefixed the autosave localStorage key with “smde_”
9 years ago
Wes Cossick 52ed959be9 Change unique_id to uniqueId 9 years ago
Wes Cossick 90733ec404 Fix autosave briefly losing saved value 9 years ago
Wes Cossick becd1317ff Trigger Travis CI build with small change 9 years ago
Wes Cossick adda6665c1 Update simplemde.js 9 years ago
Wes Cossick a98665a0a7 Merge branch 'master' into development 9 years ago
Wes Cossick 2c77d032e6 Force lint error to test Travis CI 9 years ago
Wes Cossick dab0b6be7b Merge pull request #155 from NextStepWebs/development
New option, HTML highlighting, Gulp build tweaks, Fix bugs
9 years ago
Wes Cossick 73e5e5fb4e Change replaceTexts to insertTexts 9 years ago
Wes Cossick cef2623e2a Recompile files with latest commits 9 years ago
Alex Canessa 8bf55b1b34 Add the replace selection text to the options. 9 years ago
Wes Cossick 653dde0d5d Merge pull request #139 from NextStepWebs/development
UMD design, Bower support, Linting, Bug fixes
9 years ago
Wes Cossick efc38f43da Update CodeMirror; Add three state methods 9 years ago
Wes Cossick dc5126b4fe Make linter happy 9 years ago
Wes Cossick 8e53037df9 Merge pull request #127 from PhantomXCool/development
Add Support UMD
9 years ago
PhantomX cd60814099 1. move the non-minified compiled JS file to the /debug/ directory
2. Corrected dependency for "marked"
9 years ago
PhantomX 09c9126741 add browserify-shim for spell-checker
revert tablist.js
9 years ago
PhantomX 01306ad105 Remove spell-checker. Module 'spell-checker' must support CommonJS 9 years ago
Wes Cossick effd98d463 Detect mobile and prevent fullscreen dependent features 9 years ago
PhantomX df1e551c0f add UMD support and add linting utility for JavaScript ESLint 9 years ago
Wes Cossick 416d807a92 Update to support allowDropFileTypes 9 years ago
Wes Cossick ec8bba319d Merge pull request #115 from NextStepWebs/development
Add dist files
9 years ago
Wes Cossick c55b5c6ecb Commit distribution files 9 years ago
Wes Cossick f32e103944 Merge pull request #114 from NextStepWebs/development
Intelligently download Font Awesome, New options, Bug fixes
9 years ago
Wes Cossick 443a58cc28 New option: renderingConfig which includes syntax highlighting 9 years ago
Wes Cossick a52a9a0098 Use .no-disable and .no-mobile classes instead of .fa-X classes 9 years ago
Wes Cossick 5466648503 Rebuild project 9 years ago
Wes Cossick 42068c97f9 Fix bug with hideIcons 9 years ago
Wes Cossick d13b3d51cd Rebuild project 9 years ago
Wes Cossick a93f7a2570 New hide icons option 9 years ago
Wes Cossick e18beb56f7 Remove debug output 9 years ago
Wes Cossick bfda8350ae Auto download Font Awesome 9 years ago
Wes Cossick 589386dc8a Fix URL matching RegEx 9 years ago
Wes Cossick 57fcf521a0 Merge pull request #107 from NextStepWebs/development
Custom preview rendering, Loads of bug fixes
9 years ago
Wes Cossick 3dcb71e880 Update gulpfile.js to wait for downloads 9 years ago
Wes Cossick 1762dea647 More defensive coding for #91 9 years ago
Wes Cossick e6ab126431 Fix Esc key not exiting full screen properly; Fixes #99 9 years ago
Wes Cossick 2f6af67480 parsingConfig documentation 9 years ago
Wes Cossick 53910de1f9 Re-add paper theme 9 years ago
Dave Brondsema ab83c5a5f6 Add getState() support for code (and yes, CodeMirror intenrally labels it as "comment") 9 years ago
arduanov 23359590df Fix autosave
After submit form with autosave we have emty string in local storage.
We won't set empty string instead of default form content.
9 years ago
Wes Cossick 5ff5766ea6 Add parsingConfig option, TODO document 9 years ago
Wes Cossick 7f4491edee Merge proposed PRs for CodeMirror 9 years ago
Wes Cossick f77dbc6aab Update/download dependencies 9 years ago
Dave Brondsema 646002bff7 Don't increment both start and end points if they are the same object (e.g. no selection) 9 years ago
Wes Cossick 98aa67881d Fix error found in #91 9 years ago
Wes Cossick f14c5f446f previewRender now supports async too 9 years ago
Wes Cossick 6c5a0dbc67 Regenerate dist files 9 years ago
Wes Cossick 8dd6262274 Simplified previewRender option 9 years ago
Wes Cossick d4e5b77a8f Updates to custom preview rendering, Gulp dist files 9 years ago
Dave Brondsema f0f496ae92 Make preview rendering be customizable 9 years ago
Wes Cossick 8ed562431a Compress and prettify 9 years ago
Wes Cossick 35afb015a3 Mobile: Should prevent scroll behind fullscreen 9 years ago
Wes Cossick d74bf5def3 Recompile and prettify 9 years ago
Wes Cossick eba5e8a77d Better bigger/smaller heading icons 9 years ago
Wes Cossick afa0101e68 Better element option behavior according to #79 9 years ago
Wes Cossick 8218391cfd Gulp now pretty formats JS and CSS 9 years ago
Wes Cossick b43b99e50d Begin testing gulp-beautify 9 years ago
Wes Cossick 866488b0a9 Brand new side-by-side preview mode 9 years ago
Wes Cossick 41c551c115 Add new icon option: Strikethrough 9 years ago
Wes Cossick db6d381d1c Three new heading icons, Fix heading button bugs 9 years ago
Wes Cossick cbeb630a97 Add singleLineBreaks option 9 years ago
Wes Cossick 2a32e619a4 Update Markdown options to use GFM line breaks 9 years ago
Wes Cossick f0679a4154 Update CodeMirror to 5.6.x 9 years ago
Wes Cossick daf2c453f6 Update built in toolbar buttons 9 years ago
Fraser Redmond d60d0cd80d Added defaults for more toolbar buttons 9 years ago
Wes Cossick ff48a879ea Simplified toolbar variant 9 years ago
Wes Cossick ebabe1c48b Improve fullscreen, fix responsiveness 9 years ago
Wes Cossick 438b3ef531 Update CodeMirror Spell Checker to v1.0.5 9 years ago
Wes Cossick 8754f008fd New heading icon: Update README / tweak code 9 years ago
Fraser Redmond 0f9dd5ee56 Heading 1-6 9 years ago
Wes Cossick c1967269b6 Format JS file 9 years ago
Wes Cossick 00fa95823e Rename option defaultValue > initialValue 9 years ago
Fernando Mendes 7ba6bf8dbe Updates gulpfile and syncs with base repo 9 years ago
Marcos Piccinini 2a2a63aac2 add missing fullscreen.js 9 years ago
Fernando Mendes d02aa31c23 Small fix 9 years ago
Fernando Mendes 154723e058 Updates project structure to match gulpfile 9 years ago