@notum-cz/strapi-plugin-tiptap-editor 1.0.1 → 1.0.2

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.
Files changed (80) hide show
  1. package/README.md +85 -55
  2. package/dist/_chunks/{RichTextInput-BZQ2iVqa.mjs → RichTextInput-COGVRWOW.mjs} +786 -596
  3. package/dist/_chunks/RichTextInput-COGVRWOW.mjs.map +1 -0
  4. package/dist/_chunks/{RichTextInput-BlxoJMa2.js → RichTextInput-Wc2q__HY.js} +785 -595
  5. package/dist/_chunks/RichTextInput-Wc2q__HY.js.map +1 -0
  6. package/dist/admin/index.js +23 -1
  7. package/dist/admin/index.js.map +1 -1
  8. package/dist/admin/index.mjs +23 -1
  9. package/dist/admin/index.mjs.map +1 -1
  10. package/dist/admin/src/components/BaseTiptapInput.d.ts +1 -0
  11. package/dist/admin/src/components/EditorErrorBoundary.d.ts +23 -0
  12. package/dist/admin/src/components/FeatureGuard.d.ts +15 -0
  13. package/dist/admin/src/components/PresetSelect.d.ts +7 -0
  14. package/dist/admin/src/extensions/Heading.d.ts +1 -0
  15. package/dist/admin/src/fields/richTextField.d.ts +18 -0
  16. package/dist/admin/src/hooks/usePresetConfig.d.ts +6 -0
  17. package/dist/admin/src/utils/buildExtensions.d.ts +3 -0
  18. package/dist/server/index.js +154 -6
  19. package/dist/server/index.js.map +1 -1
  20. package/dist/server/index.mjs +153 -6
  21. package/dist/server/index.mjs.map +1 -1
  22. package/dist/server/src/config/index.d.ts +7 -4
  23. package/dist/server/src/controllers/index.d.ts +8 -1
  24. package/dist/server/src/controllers/preset.d.ts +8 -0
  25. package/dist/server/src/index.d.ts +43 -5
  26. package/dist/server/src/routes/index.d.ts +15 -1
  27. package/dist/server/src/services/index.d.ts +9 -1
  28. package/dist/server/src/services/preset.d.ts +10 -0
  29. package/dist/shared/types.d.ts +54 -0
  30. package/package.json +11 -3
  31. package/dist/_chunks/AccentCursive-CpAPpH9C.mjs +0 -3383
  32. package/dist/_chunks/AccentCursive-CpAPpH9C.mjs.map +0 -1
  33. package/dist/_chunks/AccentCursive-D6sTlhub.js +0 -3384
  34. package/dist/_chunks/AccentCursive-D6sTlhub.js.map +0 -1
  35. package/dist/_chunks/FormattedHeadingInput-DycgfIze.mjs +0 -101
  36. package/dist/_chunks/FormattedHeadingInput-DycgfIze.mjs.map +0 -1
  37. package/dist/_chunks/FormattedHeadingInput-FFjiRSEJ.js +0 -101
  38. package/dist/_chunks/FormattedHeadingInput-FFjiRSEJ.js.map +0 -1
  39. package/dist/_chunks/RichTextInput-BZQ2iVqa.mjs.map +0 -1
  40. package/dist/_chunks/RichTextInput-BbbQxPc-.js +0 -4414
  41. package/dist/_chunks/RichTextInput-BbbQxPc-.js.map +0 -1
  42. package/dist/_chunks/RichTextInput-BjLR2pi0.js +0 -4416
  43. package/dist/_chunks/RichTextInput-BjLR2pi0.js.map +0 -1
  44. package/dist/_chunks/RichTextInput-BlxoJMa2.js.map +0 -1
  45. package/dist/_chunks/RichTextInput-Bm3X8fR2.mjs +0 -4400
  46. package/dist/_chunks/RichTextInput-Bm3X8fR2.mjs.map +0 -1
  47. package/dist/_chunks/RichTextInput-Bms-gSvK.js +0 -4407
  48. package/dist/_chunks/RichTextInput-Bms-gSvK.js.map +0 -1
  49. package/dist/_chunks/RichTextInput-BtNjPJRN.mjs +0 -4400
  50. package/dist/_chunks/RichTextInput-BtNjPJRN.mjs.map +0 -1
  51. package/dist/_chunks/RichTextInput-Bw3tcXfp.js +0 -4407
  52. package/dist/_chunks/RichTextInput-Bw3tcXfp.js.map +0 -1
  53. package/dist/_chunks/RichTextInput-CsgNpoxq.mjs +0 -4409
  54. package/dist/_chunks/RichTextInput-CsgNpoxq.mjs.map +0 -1
  55. package/dist/_chunks/RichTextInput-CwTvEMda.js +0 -4407
  56. package/dist/_chunks/RichTextInput-CwTvEMda.js.map +0 -1
  57. package/dist/_chunks/RichTextInput-DG-36krM.js +0 -1181
  58. package/dist/_chunks/RichTextInput-DG-36krM.js.map +0 -1
  59. package/dist/_chunks/RichTextInput-DLac-zNQ.mjs +0 -4400
  60. package/dist/_chunks/RichTextInput-DLac-zNQ.mjs.map +0 -1
  61. package/dist/_chunks/RichTextInput-DSXttrvi.js +0 -4407
  62. package/dist/_chunks/RichTextInput-DSXttrvi.js.map +0 -1
  63. package/dist/_chunks/RichTextInput-DeJ6Exto.mjs +0 -4400
  64. package/dist/_chunks/RichTextInput-DeJ6Exto.mjs.map +0 -1
  65. package/dist/_chunks/RichTextInput-DgT88AkO.mjs +0 -1175
  66. package/dist/_chunks/RichTextInput-DgT88AkO.mjs.map +0 -1
  67. package/dist/_chunks/RichTextInput-DlMaDJQF.mjs +0 -4400
  68. package/dist/_chunks/RichTextInput-DlMaDJQF.mjs.map +0 -1
  69. package/dist/_chunks/RichTextInput-DtaYdjCs.mjs +0 -4400
  70. package/dist/_chunks/RichTextInput-DtaYdjCs.mjs.map +0 -1
  71. package/dist/_chunks/RichTextInput-YTKXo5oq.js +0 -4407
  72. package/dist/_chunks/RichTextInput-YTKXo5oq.js.map +0 -1
  73. package/dist/_chunks/RichTextInput-tmg-oMJk.mjs +0 -4407
  74. package/dist/_chunks/RichTextInput-tmg-oMJk.mjs.map +0 -1
  75. package/dist/_chunks/RichTextInput-umhMsI5o.js +0 -4407
  76. package/dist/_chunks/RichTextInput-umhMsI5o.js.map +0 -1
  77. package/dist/admin/src/components/FormattedHeadingInput.d.ts +0 -4
  78. package/dist/admin/src/extensions/AccentCursive.d.ts +0 -18
  79. package/dist/admin/src/fields/formattedHeadingField.d.ts +0 -20
  80. package/dist/admin/src/pluginId.d.ts +0 -1
package/README.md CHANGED
@@ -1,35 +1,64 @@
1
1
  <div align="center">
2
+ <picture>
3
+ <img src="https://raw.githubusercontent.com/notum-cz/strapi-plugin-tiptap-editor/main/assets/notum-tiptap-icon.png" height="250" alt="Notum Tiptap Plugin Logo"/>
4
+ </picture>
2
5
 
3
- <picture >
4
- <!-- User has no color preference: -->
5
- <img src="assets/notum-logo.svg" height="60" alt="Description of what the image shows"/>
6
- </picture>
7
6
  <h1>TipTap Editor Plugin for Strapi V5</h1>
8
-
7
+ <p>by<br />
8
+ <a href="https://notum.tech/?utm_source=strapi-plugin&utm_medium=github&utm_campaign=tiptap-readme">
9
+ <img style="margin-top: 0.5rem" src="https://raw.githubusercontent.com/notum-cz/strapi-plugin-tiptap-editor/main/assets/notum-logo.svg" alt="Notum Technologies" />
10
+ </a>
11
+ </p>
12
+
9
13
  <p>
10
- Enhance WYSIWYG experience in Strapi V5 with TipTap.
14
+ A drop-in TipTap WYSIWYG editor for Strapi v5. <br />
15
+ Rich text, tables, images, and more, configured in minutes.
11
16
  </p>
12
-
13
-
14
- <!-- Badges -->
15
- <p>
16
- <a href="https://github.com/notum-cz/strapi-plugin-tiptap-editor/graphs/contributors">
17
- <img src="https://img.shields.io/github/contributors/notum-cz/strapi-plugin-tiptap-editor" alt="contributors" />
18
- </a>
19
- <a href="">
20
- <img src="https://img.shields.io/github/last-commit/notum-cz/strapi-plugin-tiptap-editor" alt="last update" />
21
- </a>
22
- <a href="https://github.com/notum-cz/strapi-plugin-tiptap-editor/issues/">
23
- <img src="https://img.shields.io/github/issues/notum-cz/strapi-plugin-tiptap-editor" alt="open issues" />
24
- </a>
25
- <a href="https://github.com/notum-cz/strapi-plugin-tiptap-editor/blob/main/LICENSE">
26
- <img src="https://img.shields.io/github/license/notum-cz/strapi-plugin-tiptap-editor" alt="license" />
27
- </a>
28
- </p>
29
-
30
- <h4>
31
- <a href="https://github.com/notum-cz/strapi-plugin-tiptap-editor/issues/">Report Bug or Request Feature</a>
32
-
17
+
18
+ <!-- Badges -->
19
+ <p>
20
+ <a
21
+ href="https://github.com/notum-cz/strapi-plugin-tiptap-editor/graphs/contributors"
22
+ >
23
+ <img
24
+ src="https://img.shields.io/github/contributors/notum-cz/strapi-plugin-tiptap-editor"
25
+ alt="contributors"
26
+ />
27
+ </a>
28
+ <a href="https://github.com/notum-cz/strapi-plugin-tiptap-editor/commits">
29
+ <img
30
+ src="https://img.shields.io/github/last-commit/notum-cz/strapi-plugin-tiptap-editor"
31
+ alt="last update"
32
+ />
33
+ </a>
34
+ <a href="https://github.com/notum-cz/strapi-plugin-tiptap-editor/issues/">
35
+ <img
36
+ src="https://img.shields.io/github/issues/notum-cz/strapi-plugin-tiptap-editor"
37
+ alt="open issues"
38
+ />
39
+ </a>
40
+ <a
41
+ href="https://github.com/notum-cz/strapi-plugin-tiptap-editor/blob/main/LICENSE"
42
+ >
43
+ <img
44
+ src="https://img.shields.io/github/license/notum-cz/strapi-plugin-tiptap-editor"
45
+ alt="license"
46
+ />
47
+ </a>
48
+ <a
49
+ href="https://github.com/notum-cz/strapi-plugin-tiptap-editor/stargazers"
50
+ >
51
+ <img
52
+ src="https://img.shields.io/github/stars/notum-cz/strapi-plugin-tiptap-editor"
53
+ alt="stars"
54
+ />
55
+ </a>
56
+ </p>
57
+
58
+ <h4>
59
+ <a href="https://github.com/notum-cz/strapi-plugin-tiptap-editor/issues/"
60
+ >Report Bug or Request Feature</a
61
+ >
33
62
  </h4>
34
63
  </div>
35
64
 
@@ -46,14 +75,10 @@ Enhance WYSIWYG experience in Strapi V5 with TipTap.
46
75
  - [Supported Versions](#supported-versions)
47
76
  - [Getting Started](#getting-started)
48
77
  - [Installation](#installation)
49
- - [1. Install the plugin via npm or yarn](#1-install-the-plugin-via-npm-or-yarn)
50
- - [2. Rebuild Strapi and test the plugin](#2-rebuild-strapi-and-test-the-plugin)
51
78
  - [Roadmap](#roadmap)
52
- - [Community](#community)
53
- - [This plugin is maintained by Notum Technologies, a Czech-based Strapi Enterprise Partner.](#this-plugin-is-maintained-by-notum-technologies-a-czech-based-strapi-enterprise-partner)
54
- - [Current maintainer](#current-maintainer)
55
- - [Contributors](#contributors)
56
- - [How can Notum help you with your STRAPI project?](#how-can-notum-help-you-with-your-strapi-project)
79
+ - [Community](#-community)
80
+ - [Current maintainer](#current-maintainer)
81
+ - [Contributors](#contributors)
57
82
  - [Contributing](#contributing)
58
83
 
59
84
  <!-- About the Project -->
@@ -69,15 +94,24 @@ Enhance WYSIWYG experience in Strapi V5 with TipTap.
69
94
 
70
95
  ### Features
71
96
 
72
- - Rich text editing with TipTap, a modern and extensible WYSIWYG editor built on ProseMirror.
73
- - Seamless integration with Strapi's content management system.
97
+ - **Rich text editing** powered by [TipTap](https://tiptap.dev/) - a modern, extensible WYSIWYG editor built on ProseMirror
98
+ - **Headings** (H1–H6), **bold**, **italic**, **underline**, **strikethrough**
99
+ - **Ordered & unordered lists**, task lists
100
+ - **Links**, **images**, **tables**
101
+ - **Code blocks** with syntax highlighting
102
+ - **Blockquotes**, **horizontal rules**
103
+ - Full **keyboard shortcut** support
104
+ - Seamless integration with Strapi's content management system
74
105
 
75
106
  <!-- Screenshots -->
76
107
 
77
108
  ### Screenshots
78
109
 
79
110
  <div align="center">
80
- <img src="./assets/tiptap.png" alt="screenshot" />
111
+ <picture>
112
+ <source srcset="https://raw.githubusercontent.com/notum-cz/strapi-plugin-tiptap-editor/main/assets/tiptap-plugin-dark.png" media="(prefers-color-scheme: dark)">
113
+ <img src="https://raw.githubusercontent.com/notum-cz/strapi-plugin-tiptap-editor/main/assets/tiptap-plugin-light.png" alt="Strapi Plugin TipTap Editor Interface" />
114
+ </picture>
81
115
  </div>
82
116
 
83
117
  <!-- Supported Versions -->
@@ -86,6 +120,10 @@ Enhance WYSIWYG experience in Strapi V5 with TipTap.
86
120
 
87
121
  This plugin is compatible with Strapi `v5.x.x` and has been tested on Strapi `v5.34.0`. We expect it should also work on older version of Strapi V5.
88
122
 
123
+ | Plugin version | Strapi Version | Full Support |
124
+ |----------------|----------------|--------------|
125
+ | 1.0.0 | 5.34.0 | ✅ |
126
+
89
127
  <!-- Getting Started -->
90
128
 
91
129
  ## Getting Started
@@ -122,13 +160,13 @@ We're open to feedback and feature requests. Our current roadmap includes:
122
160
 
123
161
  <!-- Contributing -->
124
162
 
125
- ## Community
163
+ ## 🤝 Community
126
164
 
127
- ### This plugin is maintained by [Notum Technologies](https://notum.tech), a Czech-based Strapi Enterprise Partner.
165
+ ### Maintained by [Notum Technologies](https://notum.tech/?utm_source=strapi-plugin&utm_medium=github&utm_campaign=tiptap-readme)
128
166
 
129
- We're a software agency specializing in custom solutions based on Strapi. We're passionate about sharing our expertise with the open-source community.
167
+ Built and maintained by [Notum Technologies](https://notum.tech/?utm_source=strapi-plugin&utm_medium=github&utm_campaign=tiptap-readme), a Czech-based Strapi Enterprise Partner with a passion for open-source tooling.
130
168
 
131
- This plugin is overseen by Ondřej Jánošík and it has been originally developed by [Ivo Pisařovic](https://github.com/ivopisarovic) and [Dominik Juriga](https://github.com/dominik-juriga).
169
+ This plugin was originally developed by [Ivo Pisařovic](https://github.com/ivopisarovic) and [Dominik Juriga](https://github.com/dominik-juriga).
132
170
 
133
171
  #### Current maintainer
134
172
 
@@ -136,25 +174,17 @@ This plugin is overseen by Ondřej Jánošík and it has been originally develop
136
174
 
137
175
  #### Contributors
138
176
 
139
- This plugin has been brought to you thanks to the following contributors:
140
-
141
177
  <a href="https://github.com/notum-cz/strapi-plugin-tiptap-editor/graphs/contributors">
142
- <img src="https://contrib.rocks/image?repo=notum-cz/strapi-plugin-tiptap-editor" />
178
+ <img src="https://contrib.rocks/image?repo=notum-cz/strapi-plugin-tiptap-editor" alt="Contributors" />
143
179
  </a>
144
180
 
145
- ### [How can Notum help you with your STRAPI project?](https://www.notum.tech/notum-and-strapi)
146
-
147
- ✔️ We offer valuable assistance in developing custom STRAPI, web, and mobile apps to fulfill your requirements and goals.. <br>
148
- ✔️ With a track record of 100+ projects, our open communication and exceptional project management skills provide us with the necessary tools to get your project across the finish line.<br>
181
+ ### Need help with your Strapi project?
149
182
 
150
- To initiate a discussion about your Strapi project, feel free to reach out to us via email at sales@notum.cz. We're here to assist you!
183
+ [Notum Technologies](https://notum.tech/?utm_source=strapi-plugin&utm_medium=github&utm_campaign=tiptap-readme) builds custom Strapi solutions for enterprise teams. If you'd like to work with us, [book a call](https://calendly.com/notum) or drop us a line at [sales@notum.cz](mailto:sales@notum.cz).
151
184
 
152
185
  ### Contributing
153
186
 
154
- Contributions are always welcome! Please follow these steps to contribute:
187
+ Contributions of all kinds are welcome: code, documentation, bug reports, and feature ideas.
188
+ <br> <br> Browse the [open issues](https://github.com/notum-cz/strapi-plugin-tiptap-editor/issues) to find something to work on, or open a new one to start a discussion. Pull requests are always appreciated!
155
189
 
156
- 1. Fork the Project
157
- 2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
158
- 3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
159
- 4. Push to the Branch (`git push origin feature/AmazingFeature`)
160
- 5. Open a Pull Request
190
+ If you'd like to directly contribute, check our [Contributions document](https://github.com/notum-cz/strapi-plugin-tiptap-editor?tab=contributing-ov-file).