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
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