open-index/open-npm huggingface dataset:
npm package: @sad8487/my-lib
Description: - Clone template: (replace `my-lib` with your project name)   ```bash   npx degit https://github.com/ershisan99/lib-with-storybook-starter my-lib   ```
Latest version: 0.0.3

# Usage:

- Clone template: (replace `my-lib` with your project name)
  ```bash
  npx degit https://github.com/ershisan99/lib-with-storybook-starter my-lib
  ```

- Change directory: (replace `my-lib` with your project name)
  ```bash
  cd my-lib
  ```

- Install dependencies:
  ```bash
  pnpm i
  ```

- Run storybook:
  ```bash
  pnpm dev
  ```
npm package: @sadais/tinymce-editor
Description: tinymce编辑器，ts版本
Latest version: 1.0.37

tinymce编辑器，ts版本

## 安装
```bash
yarn add @sadais/tinymce-editor
```

## js引入
```js
import { Editor } from '@sadais/tinymce-editor'
```

## 模板中引入
```html
<editor
  id="editor"
  v-model="document.content"
  tinymce-script-src="默认：https:m.sadais.com/sadais-front/tinymce_5.6.1/js/tinymce/tinymce.js"
  :option="initOption"
  @init="handleEditorInit"
  @save-doc="handleSave"  // 按ctrl+s 或者 command+s(Mac端)
/>
```
## Editor：option-图片上传配置
```js
import request from '@/utils/request'
{
  upload_url: '/api/log/event/v1/storage/getosstoken',
  upload_way: 'byoss | byapi',
  axios: request,
  upload_filter: (picUrl) => boolean true:表示上传、false:不上传
  默认filter: (picurl) => !/sadais/i.test(picUrl)
  即只上传路径中没有包含sadais的图片
}

其中：byoss表示内部使用OSS上传图片，byapi表示直接使用后台提供的接口上传
```