@licium/editor-plugin-uml 3.0.1 → 3.2.4
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 +19 -16
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
> This is a fork of the [Toast UI Editor](https://github.com/natorus87/tui.editor) maintained by `@licium`.
|
|
2
|
+
> Original repository: https://github.com/natorus87/tui.editor
|
|
3
|
+
|
|
1
4
|
# TOAST UI Editor : UML Plugin
|
|
2
5
|
|
|
3
|
-
> This is a plugin of [TOAST UI Editor](https://github.com/
|
|
6
|
+
> This is a plugin of [TOAST UI Editor](https://github.com/natorus87/tui.editor/tree/master/apps/editor) to render UML.
|
|
4
7
|
|
|
5
|
-
[](https://www.npmjs.com/package/@licium/editor-plugin-uml)
|
|
6
9
|
|
|
7
10
|

|
|
8
11
|
|
|
@@ -38,14 +41,14 @@ The bundle files include all dependencies of this plugin.
|
|
|
38
41
|
|
|
39
42
|
## 📦 Usage npm
|
|
40
43
|
|
|
41
|
-
To use the plugin, [`@
|
|
44
|
+
To use the plugin, [`@licium/editor`](https://github.com/natorus87/tui.editor/tree/master/apps/editor) must be installed.
|
|
42
45
|
|
|
43
|
-
> Ref. [Getting Started](https://github.com/
|
|
46
|
+
> Ref. [Getting Started](https://github.com/natorus87/tui.editor/blob/master/docs/en/getting-started.md)
|
|
44
47
|
|
|
45
48
|
### Install
|
|
46
49
|
|
|
47
50
|
```sh
|
|
48
|
-
$ npm install @
|
|
51
|
+
$ npm install @licium/editor-plugin-uml
|
|
49
52
|
```
|
|
50
53
|
|
|
51
54
|
### Import Plugin
|
|
@@ -53,13 +56,13 @@ $ npm install @toast-ui/editor-plugin-uml
|
|
|
53
56
|
#### ES Modules
|
|
54
57
|
|
|
55
58
|
```js
|
|
56
|
-
import uml from '@
|
|
59
|
+
import uml from '@licium/editor-plugin-uml';
|
|
57
60
|
```
|
|
58
61
|
|
|
59
62
|
#### CommonJS
|
|
60
63
|
|
|
61
64
|
```js
|
|
62
|
-
const uml = require('@
|
|
65
|
+
const uml = require('@licium/editor-plugin-uml');
|
|
63
66
|
```
|
|
64
67
|
|
|
65
68
|
### Create Instance
|
|
@@ -67,8 +70,8 @@ const uml = require('@toast-ui/editor-plugin-uml');
|
|
|
67
70
|
#### Basic
|
|
68
71
|
|
|
69
72
|
```js
|
|
70
|
-
import Editor from '@
|
|
71
|
-
import uml from '@
|
|
73
|
+
import Editor from '@licium/editor';
|
|
74
|
+
import uml from '@licium/editor-plugin-uml';
|
|
72
75
|
|
|
73
76
|
const editor = new Editor({
|
|
74
77
|
// ...
|
|
@@ -79,8 +82,8 @@ const editor = new Editor({
|
|
|
79
82
|
#### With Viewer
|
|
80
83
|
|
|
81
84
|
```js
|
|
82
|
-
import Viewer from '@
|
|
83
|
-
import uml from '@
|
|
85
|
+
import Viewer from '@licium/editor/dist/toustui-editor-viewer';
|
|
86
|
+
import uml from '@licium/editor-plugin-uml';
|
|
84
87
|
|
|
85
88
|
const viewer = new Viewer({
|
|
86
89
|
// ...
|
|
@@ -91,8 +94,8 @@ const viewer = new Viewer({
|
|
|
91
94
|
or
|
|
92
95
|
|
|
93
96
|
```js
|
|
94
|
-
import Editor from '@
|
|
95
|
-
import uml from '@
|
|
97
|
+
import Editor from '@licium/editor';
|
|
98
|
+
import uml from '@licium/editor-plugin-uml';
|
|
96
99
|
|
|
97
100
|
const viewer = Editor.factory({
|
|
98
101
|
// ...
|
|
@@ -103,7 +106,7 @@ const viewer = Editor.factory({
|
|
|
103
106
|
|
|
104
107
|
## 🗂 Usage CDN
|
|
105
108
|
|
|
106
|
-
To use the plugin, the CDN files(CSS, Script) of `@
|
|
109
|
+
To use the plugin, the CDN files(CSS, Script) of `@licium/editor` must be included.
|
|
107
110
|
|
|
108
111
|
### Include Files
|
|
109
112
|
|
|
@@ -172,8 +175,8 @@ The following option is available in the `uml` plugin.
|
|
|
172
175
|
```js
|
|
173
176
|
// ...
|
|
174
177
|
|
|
175
|
-
import Editor from '@
|
|
176
|
-
import uml from '@
|
|
178
|
+
import Editor from '@licium/editor';
|
|
179
|
+
import uml from '@licium/editor-plugin-uml';
|
|
177
180
|
|
|
178
181
|
const umlOptions = {
|
|
179
182
|
rendererURL: // ...
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@licium/editor-plugin-uml",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.4",
|
|
4
4
|
"description": "TOAST UI Editor : UML Plugin",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"nhn",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
25
|
-
"url": "https://github.com/
|
|
25
|
+
"url": "https://github.com/natorus87/tui.editor.git",
|
|
26
26
|
"directory": "plugins/uml"
|
|
27
27
|
},
|
|
28
28
|
"bugs": {
|
|
29
|
-
"url": "https://github.com/
|
|
29
|
+
"url": "https://github.com/natorus87/tui.editor/issues"
|
|
30
30
|
},
|
|
31
31
|
"homepage": "https://ui.toast.com",
|
|
32
32
|
"browserslist": "last 2 versions, not ie <= 10",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "b58c109f6aa92d5d14dae00fbfcf13d9699903e6"
|
|
54
54
|
}
|