# tinymce-light-skin

> Pixabay's Light TinyMCE skin with all assets bundled in the JS.

Latest version **1.3.1** (published 2017-06-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install tinymce-light-skin
pnpm add tinymce-light-skin
yarn add tinymce-light-skin
bun add tinymce-light-skin
```

## 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 | 1.3.1 |
| Published | 2017-06-19 |
| First published | 2017-02-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Brent Burgoyne |
| Maintainers | justaboutjeff, brentburgoyne |
| Keywords | tinymce, theme, skin |

## Links

- npm: https://www.npmjs.com/package/tinymce-light-skin
- Repository: https://github.com/brentburg/tinymce-light-skin
- Homepage: https://github.com/brentburg/tinymce-light-skin#readme
- Issues: https://github.com/brentburg/tinymce-light-skin/issues
- npm.io page: https://npm.io/package/tinymce-light-skin

## Recent versions

- 1.3.1 (latest) — 2017-06-19
- 1.3.0-alpha.1 (unstable) — 2017-06-13
- 1.3.0 — 2017-06-13
- 1.3.0-alpha.0 — 2017-06-13
- 1.2.5 — 2017-06-03
- 1.2.4 — 2017-05-10
- 1.2.3 — 2017-05-09
- 1.2.2 — 2017-03-31
- 1.2.1 — 2017-03-30
- 1.2.0 — 2017-03-29
- 1.1.1 — 2017-02-21
- 1.1.0 — 2017-02-18
- 1.0.3 — 2017-02-15
- 1.0.2 — 2017-02-13
- 1.0.1 — 2017-02-10
- … 1 more at https://npm.io/package/tinymce-light-skin/versions

## README

# TinyMCE Light Skin

![Build status for master branch](https://travis-ci.org/instructure/tinymce-light-skin.svg?branch=master)

This is a version of the [Pixabay's Light TinyMCE Skin][1] packaged with all
static assets in the JavaScript. This makes it easier to inlcude in modules
that wrap TinyMCE without requiring consumers to serve the skin assets.

## Modifications

Some slight modifications to the original skin have been made:

  - IE7 specific CSS has been removed
  - WOFF is the only font format used
  - CSS changes for better keyboard navigation
  - Remove font sizes from content CSS to avoid conflicting with app specific
    content CSS.

This makes the bundle smaller and still provides good support for modern
browsers.

## Usage

```javascript
import skin from 'tinymce-light-skin'

// append styles to head
skin.use()

// when initializing TinyMCE set skin to false
tinymce.init({ skin: false })

// optionaly remove styles from head based on reference count
skin.unuse()

// inject content styles into the editor's iframe
tinymce.init({ content_style: skin.contentStyle })

// inline variants
skin.useInline()
skin.unuseInline()
```

[1]: https://pixabay.com/en/blog/posts/a-modern-custom-theme-for-tinymce-4-40/

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