# snb-components

> Summernote bricks components

Latest version **1.3.0** (published 2023-01-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install snb-components
pnpm add snb-components
yarn add snb-components
bun add snb-components
```

## Health

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

Positive: no vulnerabilities; high maintenance score.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.3.0 |
| Published | 2023-01-13 |
| First published | 2022-05-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 166.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Eissa Soubhi |
| Maintainers | eissa |
| Keywords | summernote heading, summernote title, summernote h1, summernote h2, summernote module, summernote plugin |

## Links

- npm: https://www.npmjs.com/package/snb-components
- Repository: https://github.com/eissasoubhi/SNB-components
- Homepage: https://github.com/eissasoubhi/SNB-components#readme
- Issues: https://github.com/eissasoubhi/SNB-components/issues
- npm.io page: https://npm.io/package/snb-components

## Recent versions

- 1.3.0 (latest) — 2023-01-13
- 1.2.14 — 2023-01-06
- 1.2.13 — 2023-01-06
- 1.2.12 — 2023-01-04
- 1.2.11 — 2023-01-04
- 1.2.10 — 2023-01-04
- 1.2.9 — 2023-01-04
- 1.2.8 — 2023-01-02
- 1.2.7 — 2023-01-02
- 1.2.6 — 2022-12-29
- 1.2.5 — 2022-12-29
- 1.2.4 — 2022-12-29
- 1.2.3 — 2022-12-26
- 1.2.2 — 2022-12-26
- 1.2.1 — 2022-12-09
- … 8 more at https://npm.io/package/snb-components/versions

## README

# SNB-components

Summernote bricks components re-used in the summernote bricks repos.

## Components
- **LineBreak**: a service to manage the linebreaks
- **ModalMode**: the abstractions of the modal modes.
    - creating mode: adding a new brick to the editor 
    - editing mode: editing an existing brick in the editor 
- **editableWrapTemplate**: the brick wrapper that contains action buttons
- **EditableBrick**: a service that transforms a brick into an editable brick with action buttons
- **DataValidator**: validates the modal input data
- **ExtensionsManager**: adds extensions to the editor

## Extensions
**WhiteSpaceManagerExtension**: manage the linebreaks in the editor (add/remove linebreaks around the brick)

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