@notum-cz/strapi-plugin-tiptap-editor 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/LICENSE +21 -0
- package/README.md +160 -0
- package/dist/_chunks/AccentCursive-CpAPpH9C.mjs +3383 -0
- package/dist/_chunks/AccentCursive-CpAPpH9C.mjs.map +1 -0
- package/dist/_chunks/AccentCursive-D6sTlhub.js +3384 -0
- package/dist/_chunks/AccentCursive-D6sTlhub.js.map +1 -0
- package/dist/_chunks/FormattedHeadingInput-DycgfIze.mjs +101 -0
- package/dist/_chunks/FormattedHeadingInput-DycgfIze.mjs.map +1 -0
- package/dist/_chunks/FormattedHeadingInput-FFjiRSEJ.js +101 -0
- package/dist/_chunks/FormattedHeadingInput-FFjiRSEJ.js.map +1 -0
- package/dist/_chunks/RichTextInput-BZQ2iVqa.mjs +4481 -0
- package/dist/_chunks/RichTextInput-BZQ2iVqa.mjs.map +1 -0
- package/dist/_chunks/RichTextInput-BbbQxPc-.js +4414 -0
- package/dist/_chunks/RichTextInput-BbbQxPc-.js.map +1 -0
- package/dist/_chunks/RichTextInput-BjLR2pi0.js +4416 -0
- package/dist/_chunks/RichTextInput-BjLR2pi0.js.map +1 -0
- package/dist/_chunks/RichTextInput-BlxoJMa2.js +4488 -0
- package/dist/_chunks/RichTextInput-BlxoJMa2.js.map +1 -0
- package/dist/_chunks/RichTextInput-Bm3X8fR2.mjs +4400 -0
- package/dist/_chunks/RichTextInput-Bm3X8fR2.mjs.map +1 -0
- package/dist/_chunks/RichTextInput-Bms-gSvK.js +4407 -0
- package/dist/_chunks/RichTextInput-Bms-gSvK.js.map +1 -0
- package/dist/_chunks/RichTextInput-BtNjPJRN.mjs +4400 -0
- package/dist/_chunks/RichTextInput-BtNjPJRN.mjs.map +1 -0
- package/dist/_chunks/RichTextInput-Bw3tcXfp.js +4407 -0
- package/dist/_chunks/RichTextInput-Bw3tcXfp.js.map +1 -0
- package/dist/_chunks/RichTextInput-CsgNpoxq.mjs +4409 -0
- package/dist/_chunks/RichTextInput-CsgNpoxq.mjs.map +1 -0
- package/dist/_chunks/RichTextInput-CwTvEMda.js +4407 -0
- package/dist/_chunks/RichTextInput-CwTvEMda.js.map +1 -0
- package/dist/_chunks/RichTextInput-DG-36krM.js +1181 -0
- package/dist/_chunks/RichTextInput-DG-36krM.js.map +1 -0
- package/dist/_chunks/RichTextInput-DLac-zNQ.mjs +4400 -0
- package/dist/_chunks/RichTextInput-DLac-zNQ.mjs.map +1 -0
- package/dist/_chunks/RichTextInput-DSXttrvi.js +4407 -0
- package/dist/_chunks/RichTextInput-DSXttrvi.js.map +1 -0
- package/dist/_chunks/RichTextInput-DeJ6Exto.mjs +4400 -0
- package/dist/_chunks/RichTextInput-DeJ6Exto.mjs.map +1 -0
- package/dist/_chunks/RichTextInput-DgT88AkO.mjs +1175 -0
- package/dist/_chunks/RichTextInput-DgT88AkO.mjs.map +1 -0
- package/dist/_chunks/RichTextInput-DlMaDJQF.mjs +4400 -0
- package/dist/_chunks/RichTextInput-DlMaDJQF.mjs.map +1 -0
- package/dist/_chunks/RichTextInput-DtaYdjCs.mjs +4400 -0
- package/dist/_chunks/RichTextInput-DtaYdjCs.mjs.map +1 -0
- package/dist/_chunks/RichTextInput-YTKXo5oq.js +4407 -0
- package/dist/_chunks/RichTextInput-YTKXo5oq.js.map +1 -0
- package/dist/_chunks/RichTextInput-tmg-oMJk.mjs +4407 -0
- package/dist/_chunks/RichTextInput-tmg-oMJk.mjs.map +1 -0
- package/dist/_chunks/RichTextInput-umhMsI5o.js +4407 -0
- package/dist/_chunks/RichTextInput-umhMsI5o.js.map +1 -0
- package/dist/_chunks/en-B4KWt_jN.js +5 -0
- package/dist/_chunks/en-B4KWt_jN.js.map +1 -0
- package/dist/_chunks/en-Byx4XI2L.mjs +5 -0
- package/dist/_chunks/en-Byx4XI2L.mjs.map +1 -0
- package/dist/admin/index.js +71 -0
- package/dist/admin/index.js.map +1 -0
- package/dist/admin/index.mjs +72 -0
- package/dist/admin/index.mjs.map +1 -0
- package/dist/admin/src/components/BaseTiptapInput.d.ts +12 -0
- package/dist/admin/src/components/FormattedHeadingInput.d.ts +4 -0
- package/dist/admin/src/components/Initializer.d.ts +5 -0
- package/dist/admin/src/components/LinkDialog.d.ts +14 -0
- package/dist/admin/src/components/RichTextInput.d.ts +4 -0
- package/dist/admin/src/components/Spacer.d.ts +3 -0
- package/dist/admin/src/components/TableSizeDialog.d.ts +10 -0
- package/dist/admin/src/components/TiptapInput.d.ts +7 -0
- package/dist/admin/src/components/TiptapInputStyles.d.ts +2 -0
- package/dist/admin/src/components/ToolbarButton.d.ts +11 -0
- package/dist/admin/src/extensions/AccentCursive.d.ts +18 -0
- package/dist/admin/src/extensions/Heading.d.ts +8 -0
- package/dist/admin/src/extensions/Link.d.ts +7 -0
- package/dist/admin/src/extensions/Script.d.ts +7 -0
- package/dist/admin/src/extensions/StarterKit.d.ts +13 -0
- package/dist/admin/src/extensions/Table.d.ts +11 -0
- package/dist/admin/src/extensions/TextAlign.d.ts +9 -0
- package/dist/admin/src/fields/formattedHeadingField.d.ts +20 -0
- package/dist/admin/src/fields/richTextField.d.ts +20 -0
- package/dist/admin/src/icons/TextAlignCenter.d.ts +2 -0
- package/dist/admin/src/icons/TextAlignJustify.d.ts +2 -0
- package/dist/admin/src/icons/TextAlignLeft.d.ts +2 -0
- package/dist/admin/src/icons/TextAlignRight.d.ts +2 -0
- package/dist/admin/src/index.d.ts +10 -0
- package/dist/admin/src/pluginId.d.ts +1 -0
- package/dist/admin/src/utils/getTranslation.d.ts +2 -0
- package/dist/admin/src/utils/tiptapUtils.d.ts +18 -0
- package/dist/server/index.js +44 -0
- package/dist/server/index.js.map +1 -0
- package/dist/server/index.mjs +45 -0
- package/dist/server/index.mjs.map +1 -0
- package/dist/server/src/bootstrap.d.ts +5 -0
- package/dist/server/src/config/index.d.ts +5 -0
- package/dist/server/src/content-types/index.d.ts +2 -0
- package/dist/server/src/controllers/index.d.ts +2 -0
- package/dist/server/src/destroy.d.ts +5 -0
- package/dist/server/src/fields/richTextField.d.ts +2 -0
- package/dist/server/src/index.d.ts +25 -0
- package/dist/server/src/middlewares/index.d.ts +2 -0
- package/dist/server/src/policies/index.d.ts +2 -0
- package/dist/server/src/register.d.ts +5 -0
- package/dist/server/src/routes/index.d.ts +2 -0
- package/dist/server/src/services/index.d.ts +2 -0
- package/dist/shared/fields.d.ts +1 -0
- package/dist/shared/pluginId.d.ts +1 -0
- package/package.json +80 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Notum Technologies
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
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
|
+
<h1>TipTap Editor Plugin for Strapi V5</h1>
|
|
8
|
+
|
|
9
|
+
<p>
|
|
10
|
+
Enhance WYSIWYG experience in Strapi V5 with TipTap.
|
|
11
|
+
</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
|
+
|
|
33
|
+
</h4>
|
|
34
|
+
</div>
|
|
35
|
+
|
|
36
|
+
<br />
|
|
37
|
+
|
|
38
|
+
<!-- Table of Contents -->
|
|
39
|
+
|
|
40
|
+
# Table of Contents
|
|
41
|
+
|
|
42
|
+
- [Table of Contents](#table-of-contents)
|
|
43
|
+
- [About the Project](#about-the-project)
|
|
44
|
+
- [Features](#features)
|
|
45
|
+
- [Screenshots](#screenshots)
|
|
46
|
+
- [Supported Versions](#supported-versions)
|
|
47
|
+
- [Getting Started](#getting-started)
|
|
48
|
+
- [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
|
+
- [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)
|
|
57
|
+
- [Contributing](#contributing)
|
|
58
|
+
|
|
59
|
+
<!-- About the Project -->
|
|
60
|
+
|
|
61
|
+
## About the Project
|
|
62
|
+
|
|
63
|
+
> [!IMPORTANT]
|
|
64
|
+
> This is an **initial release** of the plugin and it doesn't support all features, nor does it support **extensive configuration**. The first thing we will be adding is the ability to configure which features of TipTap you want to use in your Strapi instance.
|
|
65
|
+
>
|
|
66
|
+
> If you have any suggestions or feature requests, please don't hesitate to open an issue or submit a pull request.
|
|
67
|
+
|
|
68
|
+
<!-- Features -->
|
|
69
|
+
|
|
70
|
+
### Features
|
|
71
|
+
|
|
72
|
+
- Rich text editing with TipTap, a modern and extensible WYSIWYG editor built on ProseMirror.
|
|
73
|
+
- Seamless integration with Strapi's content management system.
|
|
74
|
+
|
|
75
|
+
<!-- Screenshots -->
|
|
76
|
+
|
|
77
|
+
### Screenshots
|
|
78
|
+
|
|
79
|
+
<div align="center">
|
|
80
|
+
<img src="./assets/tiptap.png" alt="screenshot" />
|
|
81
|
+
</div>
|
|
82
|
+
|
|
83
|
+
<!-- Supported Versions -->
|
|
84
|
+
|
|
85
|
+
### Supported Versions
|
|
86
|
+
|
|
87
|
+
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
|
+
|
|
89
|
+
<!-- Getting Started -->
|
|
90
|
+
|
|
91
|
+
## Getting Started
|
|
92
|
+
|
|
93
|
+
<!-- Installation -->
|
|
94
|
+
|
|
95
|
+
### Installation
|
|
96
|
+
|
|
97
|
+
#### 1. Install the plugin via npm or yarn
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
# NPM
|
|
101
|
+
npm i @notum-cz/strapi-plugin-tiptap-editor
|
|
102
|
+
|
|
103
|
+
# Yarn
|
|
104
|
+
yarn add @notum-cz/strapi-plugin-tiptap-editor
|
|
105
|
+
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
#### 2. Rebuild Strapi and test the plugin
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
yarn build
|
|
112
|
+
yarn start
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
<!-- Roadmap -->
|
|
116
|
+
|
|
117
|
+
## Roadmap
|
|
118
|
+
|
|
119
|
+
We're open to feedback and feature requests. Our current roadmap includes:
|
|
120
|
+
|
|
121
|
+
- [ ] Q2 2026: Add support for configuring which TipTap features to use in Strapi.
|
|
122
|
+
|
|
123
|
+
<!-- Contributing -->
|
|
124
|
+
|
|
125
|
+
## Community
|
|
126
|
+
|
|
127
|
+
### This plugin is maintained by [Notum Technologies](https://notum.tech), a Czech-based Strapi Enterprise Partner.
|
|
128
|
+
|
|
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.
|
|
130
|
+
|
|
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).
|
|
132
|
+
|
|
133
|
+
#### Current maintainer
|
|
134
|
+
|
|
135
|
+
[Dominik Juriga](https://github.com/dominik-juriga)
|
|
136
|
+
|
|
137
|
+
#### Contributors
|
|
138
|
+
|
|
139
|
+
This plugin has been brought to you thanks to the following contributors:
|
|
140
|
+
|
|
141
|
+
<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" />
|
|
143
|
+
</a>
|
|
144
|
+
|
|
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>
|
|
149
|
+
|
|
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!
|
|
151
|
+
|
|
152
|
+
### Contributing
|
|
153
|
+
|
|
154
|
+
Contributions are always welcome! Please follow these steps to contribute:
|
|
155
|
+
|
|
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
|