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:
app/views/Note
public
js
mdeditor
editor
pagedown
tinymce
plugins
@ -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 = {};
|
||||
|
Reference in New Issue
Block a user