Zignature
c174b6f149
Changed function name escapeURI to escapedPromptURL and option escapeURLs to option escapePromptURLs
2 years ago
Zignature
33489ab616
URL encoding and escaping for JS prompt URLs
...
- URL encoding and escaping added for JS prompt entered URLs
- added option escapeURLs (boolean)
2 years ago
Zignature
5d0294f5f5
Fix issue #373 problems in urls with special characters
...
Added function to escape URLs entered via JS prompt.
It's a partial fix because people cannot be stopped entering URLs manually and forgetting to escape them.
2 years ago
Jeroen Akkerman
6159ed1383
Update marked to resolve security vulnerability
2 years ago
Jeroen Akkerman
24d86491da
Fix incorrect initial line and column count
2 years ago
Jeroen Akkerman
98d9049728
Move adding custom attributes above all others
2 years ago
Jeroen Akkerman
565c42e0ff
Add hasOwnProperty check
2 years ago
Jeroen Akkerman
1c656d5712
Merge branch 'master' into options-toolbarbutton-attributes
2 years ago
Jeroen Akkerman
c1da7424e9
Merge pull request #389 from Zignature/options-liststyle
...
Fix for issue #386 Show '-' instead of '*' for unordered list
2 years ago
Jeroen Akkerman
e2db3c6946
Attempt at improving submenus in Safari for #362
2 years ago
Zignature
2cdc11848a
Requested changes applied
2 years ago
Zignature
5df842b630
Fix for issue #386 Show '-' instead of '*' for unordered list
...
Added unorderedListStyle to the options
2 years ago
Zignature
a9d9993dae
Fix for issue #380 Custom attributes for toolbar buttons
...
Added "attributes" option to custom toolbar button
2 years ago
Zignature
2936fc3383
Accurate line and column count in status bar
...
Both Line and column (character) count are increased by 1.
This fixes issue #381
2 years ago
Zignature
a7170b9392
Fix issue #381
2 years ago
Robson Jean Penteado
b640429f19
fix issue #362
3 years ago
Robson Jean Penteado
8ef68936b0
update easymde.css, fix issue #362
3 years ago
Jeroen Akkerman
42304e8a87
Update editorconfig and automatic code format
3 years ago
Jeroen Akkerman
cda237031f
Merge pull request #357 from ukjinjang/fix/compare_image_extension
...
Convert media file extension to lowercase before check if image
3 years ago
Irene Oppo
53223c4de0
Support rtl languages by adding a direction option
3 years ago
Uk-Jin Jang
b121795887
fix: convert media file extension to lowercase before check if image
3 years ago
mrlugilugi
f52f9807a2
fix: Escaping asterisk to produce valid RegEx
3 years ago
Steve
038a9204b4
Allow for specifying a custom spell-checker for EasyMDE
3 years ago
Jeroen Akkerman
fc0ecfa77e
Merge pull request #313 from wwsalmon/absolute-image-paths
...
Absolute image paths
3 years ago
Steve
b61fe7945a
Add simple class handling utiltity to DRY adding/removing class names.
...
Note that this isn't necessary and can be rolled back, but could be used throughout the code to make class handling more clear and consistent.
3 years ago
Steve
82a8e4a8ce
restore removed comment
3 years ago
Steve
548229dd1a
remove added comment
3 years ago
Steve
40ddcea4e3
remove extra comment updates
3 years ago
Steve
d0f69390ce
a little comment/cleanup
3 years ago
Steve
1ee8519e50
Unwind all the onlyCleanup stuff and set classes directly.
3 years ago
Steve
4533dd4776
clarify comments in togglePreview
3 years ago
Steve
d636eb7407
clean up diff
3 years ago
Steve
7069fd1031
Move from multiple "no-fullscreen" classes to one using inheritance
3 years ago
Steve
d76872f4ff
undo some comment changes to make diff cleaner
3 years ago
Steve
8ed6cd699e
make toggle cleanup flag clearer
3 years ago
Steve
25db654cf0
more code cleanup for readibilty
3 years ago
Steve
fa8855e3be
code refactoring to improve readability
3 years ago
Steve
61e93a3d53
handle fullscreen toggle consistently by adusting toggleSideBySide
3 years ago
Steve
abbec5bde1
bugfix: move sidebyside accessor outside of options check
3 years ago
Samson Zhang
6e7e8f9b82
add imagePathAbsolute option
3 years ago
Daichi Ninomiya
c2dbe77615
fix(easymde.js): Fixed extension acquisition logic
3 years ago
Matthijs Kuiper
ec94037ac2
Add toolbar top and bottom padding
3 years ago
Jeroen Akkerman
0ff81e89a6
Merge pull request #286 from smundro/retain-preview-on-fullscreen-toggle
...
don't toggle preview if sideBySideFullscreen is false
3 years ago
Jeroen Akkerman
65f66138c0
Merge pull request #285 from Situphen/dropdown
...
Use visibility:hidden; instead of display:none; for the dropdown menu
3 years ago
Jeroen Akkerman
3f90b9fe72
Merge pull request #284 from Fanvadar/fix-spellchecker
...
Fix spell checker
3 years ago
Steve
480145264a
don't toggle preview if sideBySideFullscreen is false
3 years ago
Situphen
a070698b34
Use visibility:hidden; instead of display:none; for the dropdown menu
3 years ago
Alexander Wilson
7b0411fd79
Fix spell checker
3 years ago
Eugene Mirotin
b7d5af36c8
Fix #278
...
Remove erroneous and unneeded call to window.removeEventListener
3 years ago
Marc-Etienne Trudel
db348fe44b
wip
3 years ago
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