Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Codemirror plugin for persisting buffers in a local storage
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
License.md
Readme.md
core.js
package.json

Readme.md

codemirror-persist

Codemirror plugin for persisting buffers in a local storage

Usage

// require plugin
var persist = require("codemirror-persist")

// Install plugin
persist(CodeMirror)

var myCodeMirror = CodeMirror(document.body, {
  // ...
  persist: true // enable buffer persistence
})

Install

npm install codemirror-persist
Something went wrong with that request. Please try again.