# gulf-contenteditable

> Convenient gulf wrapper for contenteditable elements (uses dom-ot)

Latest version **4.0.1** (published 2016-02-04) · LGPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install gulf-contenteditable
pnpm add gulf-contenteditable
yarn add gulf-contenteditable
bun add gulf-contenteditable
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.0.1 |
| Published | 2016-02-04 |
| First published | 2015-07-04 |
| Weekly downloads | 0 |
| License | LGPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Marcel Klehr |
| Maintainers | marcelklehr |
| Keywords | operational transformation, dom-ot, contenteditable |

## Links

- npm: https://www.npmjs.com/package/gulf-contenteditable
- Repository: https://github.com/marcelklehr/gulf-contenteditable
- Homepage: https://github.com/marcelklehr/gulf-contenteditable#readme
- Issues: https://github.com/marcelklehr/gulf-contenteditable/issues
- npm.io page: https://npm.io/package/gulf-contenteditable

## Dependencies (1)

- [mutation-summary](https://npm.io/package/mutation-summary.md) ^0.0.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 4.0.1 (latest) — 2016-02-04
- 4.0.0 — 2016-01-31
- 3.0.1 — 2015-09-06
- 3.0.0 — 2015-09-06
- 1.0.2 — 2015-08-03
- 1.0.1 — 2015-07-30
- 1.0.0 — 2015-07-30
- 0.1.1 — 2015-07-04
- 0.1.0 — 2015-07-04

## README

# gulf-contenteditable
Convenient [gulf](http://github.com/marcelklehr/gulf#readme) wrapper for contenteditable elements

## Install

```
npm install gulf-contenteditable
```

## Usage

```
var bindEditor = require('gulf-contenteditable')

var editable = document.querySelecor('#doc[contenteditable]')
var doc = bindEditor(editable)
```

## API
### bindEditor(editable:DOMElement, [storageAdapter])
  * `editable` -- a contenteditable Element to be wired up with gulf
  * `storageAdapter` -- a gulf storage adapter (optional; defaults to the in-memory Adapter)
  * *returns* the `gulf.EditableDocument` (see [the gulf docs](http://github.com/marcelklehr/gulf#readme))


## Legal
(c) 2015 by Marcel Klehr

GNU Lesser General Public License

---
_Source: https://npm.io/package/gulf-contenteditable · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
