# inpladitor

> An in-place editor for meteor

Latest version **0.2.6** (published 2018-09-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install inpladitor
pnpm add inpladitor
yarn add inpladitor
bun add inpladitor
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.6 |
| Published | 2018-09-01 |
| First published | 2017-06-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 41.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Mahmoud Mostafa |
| Maintainers | mahmost |

## Links

- npm: https://www.npmjs.com/package/inpladitor
- Repository: https://github.com/mahmost/inpladitor
- Homepage: https://github.com/mahmost/inpladitor#readme
- Issues: https://github.com/mahmost/inpladitor/issues
- npm.io page: https://npm.io/package/inpladitor

## Dependencies (4)

- [loglevel](https://npm.io/package/loglevel.md) ^1.6.1
- [underscore](https://npm.io/package/underscore.md) ^1.5.0
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.0.0
- [optimal-select](https://npm.io/package/optimal-select.md) =3.5.0

## Recent versions

- 0.2.6 (latest) — 2018-09-01
- 0.2.5 — 2018-09-01
- 0.2.0 — 2018-08-30
- 0.1.0 — 2017-06-30

## README

Inpladitor
==========

An in place editor for meteor

Installing using atmosphere
----------------------------

```
meteor add mahmost:inpladitor
```

Installing using npm
---------------------

```
meteor npm install inpladitor --save
```


Basic usage
------------

#### Required npm setup

If installed using npm :

- You need to put this in server side code

```
import Inpladitor from "inpladitor";
```

- And put this in client side code (in template files where you the editor event is found)

```
window.Inpladitor = require("inpladitor/handler");
import "inpladitor/css/style.css";
```

#### Editor Event

A basic event to make all text node in a template editable is :

```
Template.someName.event({
  'click *' : function (e, t) {
    Inpladitor.handler(e, t);
  }
});
```

License
--------
MIT

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