FANDOM


BlogDraft allows users to save blog drafts in their browser's local storage. It supports the source editor and rich text editor (RTE).

Installation

Configuration

The script uses the window.BlogDraft object for optional configuration. All keys are optional. The object declaration should come before the import.

Below is the default configuration:

window.BlogDraft = $.extend(window.BlogDraft, {
    saveWhileTyping: true,  // whether the script should save while typing
    saveBeforeUnload: true, // whether the script should autosave before exiting
    delay: 5000             // delay to debounce typing for save to initiate
});
Text above can be found here (edit)
Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+