@editora/react 1.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 +496 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.esm.js +1044 -0
- package/dist/react.css +1 -0
- package/package.json +76 -0
package/dist/react.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.floating-toolbar{user-select:none;-webkit-user-select:none;font-family:system-ui,-apple-system,sans-serif;font-size:14px;animation:fadeInUp .15s ease-out}@keyframes fadeInUp{0%{opacity:0;transform:translate(-50%) translateY(10px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.floating-toolbar-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:transparent;border-radius:4px;color:#495057;cursor:pointer;font-size:14px;font-weight:500;transition:all .15s ease;outline:none}.floating-toolbar-btn:hover{background:#f8f9fa;color:#212529}.floating-toolbar-btn:active{background:#e9ecef;transform:scale(.95)}.floating-toolbar-btn.floating-toolbar-toggle{color:#dc3545;font-weight:700}.floating-toolbar-btn.floating-toolbar-toggle:hover{background:#f8d7da;color:#721c24}.floating-toolbar-separator{width:1px;height:20px;background:#e1e5e9;margin:0 2px}@media(max-width:768px){.floating-toolbar{padding:"4px";gap:"2px"}.floating-toolbar-btn{width:28px;height:28px;font-size:12px}}.floating-toolbar{pointer-events:auto}.floating-toolbar{max-width:calc(100vw - 20px);overflow-x:auto}@media(prefers-color-scheme:dark){.floating-toolbar{background:#2d3748;border-color:#4a5568;color:#e2e8f0}.floating-toolbar-btn:hover{background:#4a5568;color:#f7fafc}.floating-toolbar-btn:active{background:#718096}.floating-toolbar-separator{background:#4a5568}}
|
package/package.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@editora/react",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "React components for Editora - Best Free Premium Rich Text Editor. Free React WYSIWYG editor with enterprise features, 30+ free plugins, and accessibility support.",
|
|
5
|
+
"author": "Ajay Kumar <ajaykr089@gmail.com>",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/ajaykr089/Editora.git",
|
|
10
|
+
"directory": "packages/react"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://editora-free.netlify.app/",
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/ajaykr089/Editora/issues"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"react",
|
|
18
|
+
"editor",
|
|
19
|
+
"rich-text",
|
|
20
|
+
"wysiwyg",
|
|
21
|
+
"react-component",
|
|
22
|
+
"contenteditable",
|
|
23
|
+
"typescript",
|
|
24
|
+
"text-editor",
|
|
25
|
+
"free-react-editor",
|
|
26
|
+
"best-free-editor",
|
|
27
|
+
"enterprise-editor",
|
|
28
|
+
"react-wysiwyg",
|
|
29
|
+
"free-wysiwyg-editor",
|
|
30
|
+
"accessible-editor",
|
|
31
|
+
"a11y-editor",
|
|
32
|
+
"html-editor",
|
|
33
|
+
"text-formatting",
|
|
34
|
+
"keyboard-shortcuts"
|
|
35
|
+
],
|
|
36
|
+
"main": "dist/index.cjs.js",
|
|
37
|
+
"module": "dist/index.esm.js",
|
|
38
|
+
"types": "dist/index.d.ts",
|
|
39
|
+
"exports": {
|
|
40
|
+
".": {
|
|
41
|
+
"types": "./dist/index.d.ts",
|
|
42
|
+
"import": "./dist/index.esm.js",
|
|
43
|
+
"require": "./dist/index.cjs.js"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"files": [
|
|
47
|
+
"dist",
|
|
48
|
+
"README.md",
|
|
49
|
+
"LICENSE"
|
|
50
|
+
],
|
|
51
|
+
"scripts": {
|
|
52
|
+
"build": "vite build",
|
|
53
|
+
"dev": "vite build --watch",
|
|
54
|
+
"clean": "rm -rf dist",
|
|
55
|
+
"prepublishOnly": "npm run build"
|
|
56
|
+
},
|
|
57
|
+
"peerDependencies": {
|
|
58
|
+
"@editora/core": "^1.0.0",
|
|
59
|
+
"react": ">=16.8.0",
|
|
60
|
+
"react-dom": ">=16.8.0"
|
|
61
|
+
},
|
|
62
|
+
"dependencies": {
|
|
63
|
+
"@editora/core": "^1.0.1",
|
|
64
|
+
"@editora/light-code-editor": "^1.0.1"
|
|
65
|
+
},
|
|
66
|
+
"devDependencies": {
|
|
67
|
+
"@types/react": "^18.2.0",
|
|
68
|
+
"@types/react-dom": "^18.2.0",
|
|
69
|
+
"typescript": "^5.0.0",
|
|
70
|
+
"vite": "^7.3.1"
|
|
71
|
+
},
|
|
72
|
+
"publishConfig": {
|
|
73
|
+
"access": "public"
|
|
74
|
+
},
|
|
75
|
+
"gitHead": "694494db58b809f0dcf24501696284faa1ab68a5"
|
|
76
|
+
}
|