1.0.7 • Published 4 years ago

tinymce-plugin-text-indent-outdent v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

TinyMCE Plugin

示例

点击预览

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

基于官方 indent 相关代码开发

pluginTextIndentOutdent 如果不传,默认值是 2px

使用

tinymce.init({
  selector: "textarea.tinymce",
  plugins: "tinymce-plugin-text-indent-outdent",
  toolbar: "text-indent | text-outdent",
  pluginTextIndentOutdent: "30px"
});

编译

# 发版
npm set registry https://registry.npmjs.org/ && npm set @panhezeng:registry https://registry.npmjs.org/ && npm version patch && npm publish --access public && npm set registry https://registry.npm.taobao.org/ && npm set @panhezeng:registry https://registry.npm.taobao.org/
1.0.7

4 years ago

1.0.6

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago