Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hufe921/canvas-editor-plugin
plugins for canvas-editor
https://github.com/hufe921/canvas-editor-plugin
barcode canvas-editor codeblock docx docx-generator excel floating-toolbar plugin
Last synced: 3 days ago
JSON representation
plugins for canvas-editor
- Host: GitHub
- URL: https://github.com/hufe921/canvas-editor-plugin
- Owner: Hufe921
- License: mit
- Created: 2023-07-06T06:05:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-06T12:56:37.000Z (2 months ago)
- Last Synced: 2024-11-01T09:14:31.490Z (12 days ago)
- Topics: barcode, canvas-editor, codeblock, docx, docx-generator, excel, floating-toolbar, plugin
- Language: TypeScript
- Homepage: https://hufe.club/canvas-editor-plugin
- Size: 731 KB
- Stars: 60
- Watchers: 7
- Forks: 21
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
canvas-editor-plugin
plugins for canvas-editor
## plugin list
- @hufe921/canvas-editor-plugin-barcode1d
```javascript
import Editor from "@hufe921/canvas-editor"
import barcode1DPlugin from "@hufe921/canvas-editor-plugin-barcode1d"const instance = new Editor()
instance.use(barcode1DPlugin)instance.executeInsertBarcode1D(
content: string,
width: number,
height: number,
options?: JsBarcode.Options
)
```- @hufe921/canvas-editor-plugin-barcode2d
```javascript
import Editor from "@hufe921/canvas-editor"
import barcode2DPlugin from "@hufe921/canvas-editor-plugin-barcode2d"const instance = new Editor()
instance.use(barcode2DPlugin, options?: IBarcode2DOption)instance.executeInsertBarcode2D(
content: string,
width: number,
height: number,
hints?: Map
)
```- @hufe921/canvas-editor-plugin-codeblock
```javascript
import Editor from "@hufe921/canvas-editor"
import codeblockPlugin from "@hufe921/canvas-editor-plugin-codeblock"const instance = new Editor()
instance.use(codeblockPlugin)instance.executeInsertCodeblock(content: string)
```- @hufe921/canvas-editor-plugin-docx
```javascript
import Editor from '@hufe921/canvas-editor'
import docxPlugin from '@hufe921/canvas-editor-plugin-docx'const instance = new Editor()
instance.use(docxPlugin)command.executeImportDocx({
arrayBuffer: buffer
})instance.executeExportDocx({
fileName: string
})
```- @hufe921/canvas-editor-plugin-excel
```javascript
import Editor from '@hufe921/canvas-editor'
import excelPlugin from '@hufe921/canvas-editor-plugin-excel'const instance = new Editor()
instance.use(excelPlugin)command.executeImportExcel({
arrayBuffer: buffer
})
```- @hufe921/canvas-editor-plugin-floating-toolbar
```javascript
import Editor from '@hufe921/canvas-editor'
import floatingToolbarPlugin from '@hufe921/canvas-editor-plugin-floating-toolbar'const instance = new Editor()
instance.use(floatingToolbarPlugin)
```- @hufe921/canvas-editor-plugin-diagram
```javascript
import Editor from '@hufe921/canvas-editor'
import diagramPlugin from '@hufe921/canvas-editor-plugin-diagram'const instance = new Editor()
instance.use(diagramPlugin)command.executeLoadDiagram({
lang?: Lang
data?: string
onDestroy?: (message?: any) => void
})
```- @hufe921/canvas-editor-plugin-case
```javascript
import Editor from '@hufe921/canvas-editor'
import casePlugin from '@hufe921/canvas-editor-plugin-case'const instance = new Editor()
instance.use(casePlugin)command.executeUpperCase()
command.executeLowerCase()
```