@opentiny/fluent-editor 3.17.2 → 3.17.3

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 CHANGED
@@ -1,10 +1,10 @@
1
- # Fluent Editor
1
+ # FluentEditor
2
2
 
3
- 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.
3
+ FluentEditor 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.
4
4
 
5
5
  ## Features
6
6
 
7
- Fluent Editor has the following features and advantages:
7
+ FluentEditor has the following features and advantages:
8
8
 
9
9
  - 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
10
  - 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 +13,7 @@ Fluent Editor has the following features and advantages:
13
13
 
14
14
  ## Quick Start
15
15
 
16
- Install Fluent Editor:
16
+ Install FluentEditor:
17
17
 
18
18
  ```shell
19
19
  npm i @opentiny/fluent-editor
@@ -23,17 +23,17 @@ Write html:
23
23
 
24
24
  ```html
25
25
  <div id="editor">
26
- <p>Hello Fluent Editor!</p>
26
+ <p>Hello FluentEditor!</p>
27
27
  </div>
28
28
  ```
29
29
 
30
30
  Import style:
31
31
 
32
32
  ```css
33
- @import '@opentiny/fluent-editor/dist/style.css'
33
+ @import '@opentiny/fluent-editor/style.css'
34
34
  ```
35
35
 
36
- Initialize the Fluent Editor editor:
36
+ Initialize the FluentEditor editor:
37
37
 
38
38
  ```javascript
39
39
  import FluentEditor from '@opentiny/fluent-editor'
@@ -58,7 +58,7 @@ Open your browser and visit: [http://localhost:5173/fluent-editor/](http://local
58
58
 
59
59
  Thanks to:
60
60
 
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. Fluent Editor extends and enhances a large number of modules and formats such as tables, images, and hyperlinks based on Quill.
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. Fluent Editor's table operation functionality is based on quill-better-table.
63
- - 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.
64
- - 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.
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. FluentEditor extends and enhances a large number of modules and formats such as tables, images, and hyperlinks based on Quill.
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. FluentEditor's table operation functionality is based on quill-better-table.
63
+ - The [quill-emoji](https://github.com/contentco/quill-emoji) project, which is a Quill module for emoji. FluentEditor's insert emoji function is based on quill-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. FluentEditor's image scaling function is based on quill-blot-formatter.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentiny/fluent-editor",
3
- "version": "3.17.2",
3
+ "version": "3.17.3",
4
4
  "description": "A rich text editor based on Quill 2.0, which extends rich modules and formats on the basis of Quill. It's powerful and out-of-the-box.",
5
5
  "homepage": "https://opentiny.github.io/fluent-editor/",
6
6
  "keywords": [
@@ -22,26 +22,22 @@
22
22
  "bugs": {
23
23
  "url": "https://github.com/opentiny/fluent-editor/issues"
24
24
  },
25
- "main": "dist/index.cjs.js",
26
- "files": [
27
- "dist/*",
28
- "README.md"
29
- ],
30
- "module": "dist/index.es.js",
25
+ "main": "index.cjs.js",
26
+ "module": "index.es.js",
31
27
  "exports": {
32
28
  ".": {
33
- "import": "./dist/index.es.js",
34
- "require": "./dist/index.cjs.js"
29
+ "import": "./index.es.js",
30
+ "require": "./index.cjs.js"
35
31
  },
36
- "./dist/style.css": {
37
- "import": "./dist/style.css",
38
- "require": "./dist/style.css"
32
+ "./style.css": {
33
+ "import": "./style.css",
34
+ "require": "./style.css"
39
35
  }
40
36
  },
41
37
  "scripts": {
42
38
  "start": "vite build && vite",
43
39
  "dev": "vite",
44
- "build": "vite build",
40
+ "build": "vite build && node scripts/pre-release.js",
45
41
  "test": "jest",
46
42
  "format": "prettier './{src,test}/**/*.{js,ts,tsx,vue}' --write"
47
43
  },
@@ -61,12 +57,14 @@
61
57
  "@types/quill": "^2.0.9",
62
58
  "@typescript-eslint/eslint-plugin": "^5.7.0",
63
59
  "@typescript-eslint/parser": "^5.7.0",
60
+ "commander": "^6.2.0",
64
61
  "eslint": "^8.5.0",
65
62
  "jest": "^26.6.3",
66
63
  "lint-staged": "^12.1.4",
67
64
  "lodash-es": "^4.17.15",
68
65
  "prettier": "^2.3.0",
69
66
  "sass": "^1.47.0",
67
+ "shelljs": "^0.8.4",
70
68
  "ts-jest": "^26.5.6",
71
69
  "ts-node": "^9.1.1",
72
70
  "typescript": "^4.2.4",
File without changes
File without changes
File without changes
File without changes
File without changes