AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Easy markdown editor4/4/2023 ![]() sbOnDragEnter: Status message displayed when the user drags a file to the text area.Defaults to Attach files by drag and dropping or pasting from clipboard. sbInit: Status message displayed initially if uploadImage is set to true.imageTexts: Texts displayed to the user (mainly on the status bar) for the import image feature, where #image_name#, #image_size# and #image_max_size# will replaced by their respective values, that can be used for customization or internationalization:.Defaults to false, which pass CSRF through request body. imageCSRFHeader: If set to true, passing CSRF token via header.imageCSRFName: CSRF token filed name to include with AJAX call to upload image, applied when imageCSRFToken has value, defaults to csrfmiddlewaretoken.For various instances like Django, Spring and Laravel. imageCSRFToken: CSRF token to include with AJAX call to upload image.imagePathAbsolute: If set to true, will treat imageUrl from imageUploadFunction and filePath returned from imageUploadEndpoint as an absolute rather than relative path, i.e.This allows for server-side error messages. If errorCode is not one of the errorMessages, it is alerted unchanged to the user. If set to, where errorCode can be noFileGiven (HTTP 400 Bad Request), typeNotAllowed (HTTP 415 Unsupported Media Type), fileTooLarge (HTTP 413 Payload Too Large) or importError (see errorMessages below). autoRefresh: Useful, when initializing the editor in a hidden DOM node.Default locale: en-US, format: hour:minute. More information see DateTimeFormat instances. Something that separates this from other instances of EasyMDE elsewhere on your website. uniqueId: You must set a unique string identifier so that EasyMDE can autosave. ![]()
0 Comments
Read More
Leave a Reply. |