add attachment feature, 1) upload, delete, 2) link attach into content (include tinymce & markdown) markdown-editor.js add insertLink function to add link into markdown content, usage: MarkdownEditor.insertLink(link, title) paste plugin edit for safety image
This commit is contained in:
@ -117,4 +117,4 @@
|
||||
writeScripts();
|
||||
})(this);
|
||||
|
||||
// $hash: cbcf61872b3ecc41bd22dcf691e2e4dd
|
||||
// $hash: 3d47d6168ca064ff0c3f626e575ff2e8
|
@ -472,7 +472,7 @@ define("tinymce/pasteplugin/Clipboard", [
|
||||
var c = new FormData;
|
||||
c.append("from", "pasteImage");
|
||||
c.append("file", blob);
|
||||
c.append("noteId", Note.curNoteId);
|
||||
c.append("noteId", Note.curNoteId); // life
|
||||
// var d;
|
||||
// d = $.ajaxSettings.xhr();
|
||||
// d.withCredentials = i;var d = {};
|
||||
|
2
public/tinymce/plugins/paste/plugin.min.js
vendored
2
public/tinymce/plugins/paste/plugin.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user