2
0
mirror of https://github.com/Ionaru/easy-markdown-editor synced 2025-06-29 06:01:01 -06:00

204 Commits

Author SHA1 Message Date
Jeroen Akkerman
611aa50443
Merge pull request #455 from vanillajonathan/patch-9
Set role attribute on the toolbar
2022-05-21 11:38:52 +02:00
Jonathan
146a5e3fb1
Accept APNG for image uploads 2022-05-19 19:02:14 +02:00
Jonathan
b31cf2bf7c
Accept AVIF for image uploads 2022-05-19 12:20:40 +02:00
Jeroen Akkerman
2b178671ca
Merge pull request #449 from vanillajonathan/patch-2
Add actions for header size 4, 5 and 6
2022-05-19 09:37:22 +02:00
Jonathan
2666001eda
Set role attribute on the toolbar 2022-05-18 22:03:48 +02:00
Jonathan
be1d994322
Update easymde.js 2022-05-18 00:50:08 +02:00
Jonathan
0dd2f99f9d
Accept GIF for image uploads 2022-05-18 00:39:54 +02:00
Jonathan
9a57f00d92
Update easymde.js 2022-05-17 23:25:02 +02:00
Jonathan
c1071c8539
Add header size 4, 5 and 6 2022-05-17 23:15:13 +02:00
Jeroen Akkerman
16f2dde59d Fix #399 autofocus property 2022-04-04 15:45:12 +02:00
Salem Cobalt
bf9b0108d7
Handle Webp Image Uploads
With this fix, uploaded WebP images render as links in the markdown (vs images).
2022-03-23 14:45:32 -04:00
Diego Garcia Weber
ed196be5a0 added option to readme, imagesPreviewHandler to types and defensive check that the handler provided by the user returns a string 2022-03-01 20:47:30 -05:00
Diego Garcia Weber
d8fa00e460 Adds the option to add a handler for images preview 2022-03-01 17:15:35 -05:00
ZsgsDesign
aa6fe59e93 fixed default image configuration typo 2022-01-25 16:46:06 +08:00
ZsgsDesign
8805c379d8 fixed comment typo for csrf token 2022-01-24 12:24:27 +08:00
ZsgsDesign
f3dca2e82a add robust CSRF support and provide default values for CSRF fields 2022-01-24 12:05:00 +08:00
Jeroen Akkerman
d8eae5d74c Improve readability of encode/escape functionality 2022-01-17 00:13:40 +01:00
Zignature
16545eb0e1 Made escaping prompt URLs automatic instead of optional again 2022-01-16 00:14:00 +01:00
Zignature
c174b6f149 Changed function name escapeURI to escapedPromptURL and option escapeURLs to option escapePromptURLs 2022-01-15 23:34:05 +01:00
Zignature
33489ab616 URL encoding and escaping for JS prompt URLs
- URL encoding and escaping added for JS prompt entered URLs
- added option escapeURLs (boolean)
2022-01-15 23:26:10 +01:00
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.
2022-01-15 13:20:28 +01:00
Jeroen Akkerman
6159ed1383 Update marked to resolve security vulnerability 2022-01-14 23:23:54 +01:00
Jeroen Akkerman
24d86491da Fix incorrect initial line and column count 2022-01-14 22:33:35 +01:00
Jeroen Akkerman
98d9049728 Move adding custom attributes above all others 2022-01-11 21:30:34 +01:00
Jeroen Akkerman
565c42e0ff Add hasOwnProperty check 2022-01-11 21:28:22 +01:00
Jeroen Akkerman
1c656d5712 Merge branch 'master' into options-toolbarbutton-attributes 2022-01-11 21:23:42 +01:00
Jeroen Akkerman
c1da7424e9
Merge pull request #389 from Zignature/options-liststyle
Fix for issue #386 Show '-' instead of '*' for unordered list
2022-01-11 21:22:31 +01:00
Jeroen Akkerman
e2db3c6946 Attempt at improving submenus in Safari for #362 2022-01-11 20:10:00 +01:00
Zignature
2cdc11848a Requested changes applied 2022-01-11 17:16:38 +01:00
Zignature
5df842b630 Fix for issue #386 Show '-' instead of '*' for unordered list
Added unorderedListStyle to the options
2022-01-11 15:45:36 +01:00
Zignature
a9d9993dae Fix for issue #380 Custom attributes for toolbar buttons
Added "attributes" option to custom toolbar button
2022-01-11 11:00:56 +01:00
Zignature
2936fc3383 Accurate line and column count in status bar
Both Line and column (character) count are increased by 1.

This fixes issue #381
2022-01-08 21:03:25 +01:00
Zignature
a7170b9392 Fix issue #381 2022-01-08 16:01:19 +01:00
Jeroen Akkerman
42304e8a87 Update editorconfig and automatic code format 2021-10-05 22:28:22 +02:00
Jeroen Akkerman
cda237031f
Merge pull request #357 from ukjinjang/fix/compare_image_extension
Convert media file extension to lowercase before check if image
2021-10-05 21:59:15 +02:00
Irene Oppo
53223c4de0 Support rtl languages by adding a direction option 2021-10-05 09:51:51 +02:00
Uk-Jin Jang
b121795887 fix: convert media file extension to lowercase before check if image 2021-10-05 15:50:48 +09:00
mrlugilugi
f52f9807a2
fix: Escaping asterisk to produce valid RegEx 2021-06-09 13:14:20 +02:00
Steve
038a9204b4 Allow for specifying a custom spell-checker for EasyMDE 2021-05-18 16:05:40 -07:00
Jeroen Akkerman
fc0ecfa77e
Merge pull request #313 from wwsalmon/absolute-image-paths
Absolute image paths
2021-04-08 18:05:14 +02:00
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.
2021-03-17 11:17:14 -07:00
Steve
82a8e4a8ce restore removed comment 2021-03-17 10:46:18 -07:00
Steve
548229dd1a remove added comment 2021-03-17 10:45:45 -07:00
Steve
40ddcea4e3 remove extra comment updates 2021-03-17 10:44:46 -07:00
Steve
d0f69390ce a little comment/cleanup 2021-03-17 10:41:38 -07:00
Steve
1ee8519e50 Unwind all the onlyCleanup stuff and set classes directly. 2021-03-17 10:25:39 -07:00
Steve
4533dd4776 clarify comments in togglePreview 2021-03-16 09:21:03 -07:00
Steve
d636eb7407 clean up diff 2021-03-16 09:17:19 -07:00
Steve
7069fd1031 Move from multiple "no-fullscreen" classes to one using inheritance 2021-03-16 09:08:54 -07:00
Steve
d76872f4ff undo some comment changes to make diff cleaner 2021-03-15 20:15:39 -07:00