@techie_doubts/editor-plugin-export 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -0
- package/dist/td-editor-plugin-export.js +800 -0
- package/dist/toastui-editor-plugin-export.js +800 -0
- package/package.json +46 -0
- package/types/index.d.ts +10 -0
package/README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# TOAST UI Editor : Export Plugin
|
|
2
|
+
|
|
3
|
+
> This plugin adds toolbar buttons to download Markdown and standalone HTML.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install --save @techie_doubts/editor-plugin-export
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```js
|
|
14
|
+
import { Editor } from '@techie_doubts/tui.editor.2026';
|
|
15
|
+
import exportPlugin from '@techie_doubts/editor-plugin-export';
|
|
16
|
+
|
|
17
|
+
const editor = new Editor({
|
|
18
|
+
el: document.querySelector('#editor'),
|
|
19
|
+
initialEditType: 'markdown',
|
|
20
|
+
previewStyle: 'vertical',
|
|
21
|
+
plugins: [exportPlugin],
|
|
22
|
+
});
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Notes
|
|
26
|
+
|
|
27
|
+
- HTML export embeds CSS and inlines images/canvases for standalone output.
|