# editor **Repository Path**: mini-docker/editor ## Basic Information - **Project Name**: editor - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-04 - **Last Updated**: 2021-03-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README  ## 安装 通过 npm 安装 TextBus: ```bash npm install @tanbo/textbus ``` 在 html 中准备一个空的元素 ```html
``` 通过 css 选择器,或直接传入一个 DOM 元素初始化 TextBus。 ```typescript import { createEditor } from '@tanbo/textbus'; import { Observable } from 'rxjs'; const editor = createEditor('#editor', { uploader(type: string): string | Promise欢迎你使用 TextBus 富文本编辑器...