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
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
89ed815735
Small CSS changes
...
* Removed opacity change on hover.
* Removed default opacity.
* Remove default button color.
* Added opacity change on button disable.
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
Wes Cossick
44b5b14e9b
Merge pull request #523 from jrsinclair/development
...
Addressing accessibility issues with using links instead of buttons.
7 years ago
Wes Cossick
de7c68b9e5
Merge pull request #517 from boristhuy/boristhuy-css-modifications
...
[#493 ] Fix wrapping issues in live preview and Side By Side
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
Boris Thuy
7fa15473ad
Added word-wrap property to CodeMirror class
...
(Absurdly) long words would cause the live preview to scroll indefinitely on the x-axis. Adding a word-wrap property to the CodeMirror class and setting its value to break-word seems to fix this issue.
7 years ago
Boris Thuy
20eb8d6da8
Added word-wrap to editor-preview-side class
...
The editor preview side currently scrolls indefinitely on the x-axis with (absurdedly) long words. Adding a word-wrap property and set it to break-word seems to fix the issue.
7 years ago
Boris Thuy
f5c62f70e8
Added box-sizing to the CodeMirror class
...
The editor view in Side By Side does not wrap lines properly (ie. they sometimes overflow beneath the live preview). Adding box-sizing property seems to fix this issue.
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
Wes Cossick
7ae3e6517b
Merge pull request #378 from gaetanm/master
...
Delete editor right border + its radius in full screen mode
8 years ago
Gaëtan Masson
8c9667980c
Delete editor right border + its radius in full screen mode
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
Wes Cossick
f1865e5536
Update version and rebuild project
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
3178aab2cb
add styling for placeholder element
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