@opentiny/fluent-editor 3.18.3 → 3.18.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 +43 -11
- package/index.cjs.js +7 -7
- package/index.cjs.js.map +1 -1
- package/index.es.js +92 -85
- package/index.es.js.map +1 -1
- package/package.json +2 -15
package/README.md
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Fluent Editor
|
|
2
|
+
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
|
3
|
+
[](#contributors-)
|
|
4
|
+
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
|
2
5
|
|
|
3
|
-
|
|
6
|
+
Fluent Editor is a rich text editor based on Quill 2.0, which extends Quill with rich modules and formats such as tables, images, hyperlinks, copy and paste, inserting emoticons, file uploads, @ reminders, and diagonal menu. It is framework-independent, compatible with Quill API, and compatible with Quill module ecosystem.
|
|
7
|
+
|
|
8
|
+
English | [简体中文](README.zh-CN.md)
|
|
4
9
|
|
|
5
10
|
## Features
|
|
6
11
|
|
|
7
|
-
|
|
12
|
+
Fluent Editor has the following features and advantages:
|
|
8
13
|
|
|
9
14
|
- Contains more than 30 rich modules and formats, in addition to the 21 built-in formats in Quill, it also extends and enhances 15 modules and formats such as tables, images, hyperlinks, word counts, emoticons, file uploads, copy and paste, @ reminders, slash shortcut menus, screenshots, etc
|
|
10
15
|
- Powerful table function, supports inserting tables with specified rows and columns in the toolbar, table row height/column width dragging, inserting rows/columns, deleting rows/columns, merging/splitting cells, and other rich table operations
|
|
@@ -13,7 +18,7 @@ FluentEditor has the following features and advantages:
|
|
|
13
18
|
|
|
14
19
|
## Quick Start
|
|
15
20
|
|
|
16
|
-
Install
|
|
21
|
+
Install Fluent Editor:
|
|
17
22
|
|
|
18
23
|
```shell
|
|
19
24
|
npm i @opentiny/fluent-editor
|
|
@@ -23,7 +28,7 @@ Write html:
|
|
|
23
28
|
|
|
24
29
|
```html
|
|
25
30
|
<div id="editor">
|
|
26
|
-
<p>Hello
|
|
31
|
+
<p>Hello Fluent Editor!</p>
|
|
27
32
|
</div>
|
|
28
33
|
```
|
|
29
34
|
|
|
@@ -33,7 +38,7 @@ Import style:
|
|
|
33
38
|
@import '@opentiny/fluent-editor/style.css'
|
|
34
39
|
```
|
|
35
40
|
|
|
36
|
-
Initialize the
|
|
41
|
+
Initialize the Fluent Editor editor:
|
|
37
42
|
|
|
38
43
|
```javascript
|
|
39
44
|
import FluentEditor from '@opentiny/fluent-editor'
|
|
@@ -54,11 +59,38 @@ pnpm dev
|
|
|
54
59
|
|
|
55
60
|
Open your browser and visit: [http://localhost:5173/fluent-editor/](http://localhost:5173/fluent-editor/)
|
|
56
61
|
|
|
57
|
-
##
|
|
62
|
+
## Contributors ✨
|
|
63
|
+
|
|
64
|
+
Contributors are community members who have 1 or more PR merged in OpenTiny.
|
|
65
|
+
|
|
66
|
+
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
|
67
|
+
|
|
68
|
+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
69
|
+
<!-- prettier-ignore-start -->
|
|
70
|
+
<!-- markdownlint-disable -->
|
|
71
|
+
<table>
|
|
72
|
+
<tbody>
|
|
73
|
+
<tr>
|
|
74
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/zzxming"><img src="https://avatars.githubusercontent.com/u/74341337?v=4?s=100" width="100px;" alt="zzxming"/><br /><sub><b>zzxming</b></sub></a><br /><a href="https://github.com/opentiny/fluent-editor/commits?author=zzxming" title="Code">💻</a></td>
|
|
75
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Janson1012"><img src="https://avatars.githubusercontent.com/u/60996238?v=4?s=100" width="100px;" alt="Janson1012"/><br /><sub><b>Janson1012</b></sub></a><br /><a href="https://github.com/opentiny/fluent-editor/commits?author=Janson1012" title="Code">💻</a></td>
|
|
76
|
+
</tr>
|
|
77
|
+
</tbody>
|
|
78
|
+
</table>
|
|
79
|
+
|
|
80
|
+
<!-- markdownlint-restore -->
|
|
81
|
+
<!-- prettier-ignore-end -->
|
|
82
|
+
|
|
83
|
+
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
|
84
|
+
|
|
85
|
+
## Credits ❤️
|
|
58
86
|
|
|
59
87
|
Thanks to:
|
|
60
88
|
|
|
61
|
-
- The [quill](https://github.com/slab/quill) project, which is an API-driven rich text editor with a modular architecture, good scalability, ease of use, and cross-platform support.
|
|
62
|
-
- The [quill-better-table](https://github.com/soccerloway/quill-better-table) project, which enhances the built-in table module of Quill and adds rich functionality.
|
|
63
|
-
- The [quill-emoji](https://github.com/contentco/quill-emoji) project, which is a Quill module for emoji.
|
|
64
|
-
- The [quill-blot-formatter](https://github.com/Fandom-OSS/quill-blot-formatter) project, which is a Quill module for resizing images and videos.
|
|
89
|
+
- The [quill](https://github.com/slab/quill) project, which is an API-driven rich text editor with a modular architecture, good scalability, ease of use, and cross-platform support. Fluent Editor extends and enhances a large number of modules and formats such as tables, images, and hyperlinks based on Quill.
|
|
90
|
+
- The [quill-better-table](https://github.com/soccerloway/quill-better-table) project, which enhances the built-in table module of Quill and adds rich functionality. Fluent Editor's table operation functionality is based on quill-better-table.
|
|
91
|
+
- The [quill-emoji](https://github.com/contentco/quill-emoji) project, which is a Quill module for emoji. Fluent Editor's insert emoji function is based on quill-emoji.
|
|
92
|
+
- The [quill-blot-formatter](https://github.com/Fandom-OSS/quill-blot-formatter) project, which is a Quill module for resizing images and videos. Fluent Editor's image scaling function is based on quill-blot-formatter.
|
|
93
|
+
|
|
94
|
+
## License
|
|
95
|
+
|
|
96
|
+
[MIT](LICENSE)
|