@pubann/textae 13.11.0 → 14.0.0
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 +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ You can also use `textae` as an npm package in your project.
|
|
|
21
21
|
To install the package, run the following command:
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
|
-
npm install textae
|
|
24
|
+
npm install @pubann/textae
|
|
25
25
|
```
|
|
26
26
|
#### How to Use in HTML
|
|
27
27
|
To use TextAE in your HTML, follow these steps:
|
|
@@ -31,8 +31,8 @@ To use TextAE in your HTML, follow these steps:
|
|
|
31
31
|
Add the following lines to your `<head>` section to load the TextAE CSS and JS from your `node_modules` directory:
|
|
32
32
|
|
|
33
33
|
```html
|
|
34
|
-
<link rel="stylesheet" href="node_modules/textae/dist/lib/css/textae-13.
|
|
35
|
-
<script src="node_modules/textae/dist/lib/textae-13.
|
|
34
|
+
<link rel="stylesheet" href="node_modules/@pubann/textae/dist/lib/css/textae-13.12.0.min.css">
|
|
35
|
+
<script src="node_modules/@pubann/textae/dist/lib/textae-13.12.0.min.js"></script>
|
|
36
36
|
```
|
|
37
37
|
2. Prepare the container
|
|
38
38
|
Add a `<div>` element with the class `textae-editor` to your HTML.
|
|
@@ -52,8 +52,8 @@ Here is an example of how to use textae in an HTML file:
|
|
|
52
52
|
<meta charset="UTF-8">
|
|
53
53
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
54
54
|
<title>TextAE Example</title>
|
|
55
|
-
<link rel="stylesheet" href="node_modules/textae/dist/lib/css/textae-13.
|
|
56
|
-
<script src="node_modules/textae/dist/lib/textae-13.
|
|
55
|
+
<link rel="stylesheet" href="node_modules/@pubann/textae/dist/lib/css/textae-13.12.0.min.css">
|
|
56
|
+
<script src="node_modules/@pubann/textae/dist/lib/textae-13.12.0.min.js"></script>
|
|
57
57
|
</head>
|
|
58
58
|
<body>
|
|
59
59
|
<div class="textae-editor" title="Example Editor" mode="edit"></div>
|