Skip to content

Commit

Permalink
Fix double quotes causing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
riasvdv committed Mar 17, 2023
1 parent 6d0ac68 commit 7379eec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/markdownField.blade.php
Expand Up @@ -103,12 +103,12 @@ className: 'fa fa-redo',
},
});
// "Create Link (Ctrl-K)": highlight URL instead of label:
// 'Create Link (Ctrl-K)': highlight URL instead of label:
editor.codemirror.on('changes', (instance, changes) => {
try {
// Grab the last change from the buffered list. I assume the
// buffered one ('changes', instead of 'change') is more efficient,
// and that "Create Link" will always end up last in the list.
// and that 'Create Link' will always end up last in the list.
const lastChange = changes[changes.length - 1];
if (lastChange.origin === '+input') {
// https://github.com/Ionaru/easy-markdown-editor/blob/8fa54c496f98621d5f45f57577ce630bee8c41ee/src/js/easymde.js#L765
Expand Down

0 comments on commit 7379eec

Please sign in to comment.