open-index/open-npm huggingface dataset:
npm package: @panhezeng/tinymce-plugin-text-indent-outdent
Description: A tinymce plugin text indent outdent
Author: 潘何增
Latest version: 1.4.0

# tinymce-plugin-text-indent-outdent [![Build Status](https://travis-ci.org/panhezeng/tinymce-plugin-text-indent-outdent.svg?branch=master)](https://travis-ci.org/panhezeng/tinymce-plugin-text-indent-outdent)[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)

[![NPM](https://nodei.co/npm/@panhezeng/tinymce-plugin-text-indent-outdent.png?compact=true)](https://nodei.co/npm/@panhezeng/tinymce-plugin-text-indent-outdent/)

> tinymce plugin

## Example

[点击预览](https://panhezeng.github.io/tinymce-plugin-text-indent-outdent/)

## Explain

官方的 indent 不是 text-indent，于是自己写了一个。

基于官方 indent 相关代码开发

plugin_textindentoutdent 如果不传，默认值是 2px

## Use

```javascript
tinymce.init({
  selector: "textarea.tinymce",
  plugins: "textindentoutdent",
  toolbar: "textindent | textoutdent",
  plugin_textindentoutdent: { value: 30, unit: "px" }
});
```

## Development

- [Create a plugin for TinyMCE](https://www.tiny.cloud/docs/advanced/creating-a-plugin/)
- [How to create custom toolbar buttons](https://www.tiny.cloud/docs/ui-components/toolbarbuttons/)
- [Types of toolbar buttons](https://www.tiny.cloud/docs/ui-components/typesoftoolbarbuttons/)
- [How to create custom menu items](https://www.tiny.cloud/docs/ui-components/menuitems/)
- [semantic-release-cli setup](https://semantic-release.gitbook.io/semantic-release/usage/getting-started)

### Test

example/src/index.js => import "../../src/index";
`npm run dev:example`