Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tadatuta/bem-textarea-editor
textarea-editor component on top of i-bem.js
https://github.com/tadatuta/bem-textarea-editor
bem components editor
Last synced: 30 days ago
JSON representation
textarea-editor component on top of i-bem.js
- Host: GitHub
- URL: https://github.com/tadatuta/bem-textarea-editor
- Owner: tadatuta
- Created: 2017-03-24T00:06:38.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-02T20:35:10.000Z (about 6 years ago)
- Last Synced: 2024-04-14T16:05:54.069Z (7 months ago)
- Topics: bem, components, editor
- Language: JavaScript
- Homepage: https://tadatuta.github.io/bem-textarea-editor/
- Size: 43.9 KB
- Stars: 10
- Watchers: 4
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# bem-textarea-editor
textarea-editor component based on [i-bem.js](https://en.bem.info/platform/i-bem/).
[Demo](https://tadatuta.github.io/bem-textarea-editor/).
Uses [textarea-editor](https://github.com/eivindfjeldstad/textarea-editor) under the hood.
Depends on [bem-font-awesome-icons](https://github.com/tadatuta/bem-font-awesome-icons/).## Installation
1. Install packages via `npm`
```
npm i bem-textarea-editor bem-font-awesome-icons --save-dev
```
or `bower`
```
bower i bem-textarea-editor bem-font-awesome-icons --save
```2. Add `bem-textarea-editor/common.blocks` and `bem-font-awesome-icons` as redefinition levels to your build config.
## Usage
```js
{
block: 'editor',
mods: {
theme: 'islands',
size: 'm',
width: 'available',
mode: 'source',
renderer: 'marked',
'has-preview': true,
'has-actions': true
}
}
```