diff --git a/package-lock.json b/package-lock.json index 314ad9aa..d1d3302e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,35 +9,36 @@ "version": "1.4.4", "license": "MIT", "dependencies": { - "@tiptap/core": "2.0.4", - "@tiptap/extension-blockquote": "2.0.4", - "@tiptap/extension-bold": "2.0.4", - "@tiptap/extension-bullet-list": "2.0.4", - "@tiptap/extension-character-count": "2.0.4", - "@tiptap/extension-code": "2.0.4", - "@tiptap/extension-code-block": "2.0.4", - "@tiptap/extension-document": "2.0.4", - "@tiptap/extension-dropcursor": "2.0.4", - "@tiptap/extension-gapcursor": "2.0.4", - "@tiptap/extension-hard-break": "2.0.4", - "@tiptap/extension-heading": "2.0.4", - "@tiptap/extension-history": "2.0.4", - "@tiptap/extension-horizontal-rule": "2.0.4", - "@tiptap/extension-image": "2.0.4", - "@tiptap/extension-italic": "2.0.4", - "@tiptap/extension-link": "2.0.4", - "@tiptap/extension-list-item": "2.0.4", - "@tiptap/extension-ordered-list": "2.0.4", - "@tiptap/extension-paragraph": "2.0.4", - "@tiptap/extension-placeholder": "2.0.4", - "@tiptap/extension-strike": "2.0.4", - "@tiptap/extension-task-item": "2.0.4", - "@tiptap/extension-task-list": "2.0.4", - "@tiptap/extension-text": "2.0.4", - "@tiptap/extension-typography": "2.0.4", - "@tiptap/pm": "2.0.4", - "@tiptap/react": "2.0.4", - "@tiptap/suggestion": "2.0.4", + "@tiptap/core": "2.1.6", + "@tiptap/extension-blockquote": "2.1.6", + "@tiptap/extension-bold": "2.1.6", + "@tiptap/extension-bullet-list": "2.1.6", + "@tiptap/extension-character-count": "2.1.6", + "@tiptap/extension-code": "2.1.6", + "@tiptap/extension-code-block": "2.1.6", + "@tiptap/extension-document": "2.1.6", + "@tiptap/extension-dropcursor": "2.1.6", + "@tiptap/extension-gapcursor": "2.1.6", + "@tiptap/extension-hard-break": "2.1.6", + "@tiptap/extension-heading": "2.1.6", + "@tiptap/extension-history": "2.1.6", + "@tiptap/extension-horizontal-rule": "2.1.6", + "@tiptap/extension-image": "2.1.6", + "@tiptap/extension-italic": "2.1.6", + "@tiptap/extension-link": "2.1.6", + "@tiptap/extension-list-item": "2.1.6", + "@tiptap/extension-list-keymap": "2.1.6", + "@tiptap/extension-ordered-list": "2.1.6", + "@tiptap/extension-paragraph": "2.1.6", + "@tiptap/extension-placeholder": "2.1.6", + "@tiptap/extension-strike": "2.1.6", + "@tiptap/extension-task-item": "2.1.6", + "@tiptap/extension-task-list": "2.1.6", + "@tiptap/extension-text": "2.1.6", + "@tiptap/extension-typography": "2.1.6", + "@tiptap/pm": "2.1.6", + "@tiptap/react": "2.1.6", + "@tiptap/suggestion": "2.1.6", "prosemirror-codemark": "0.4.2" }, "devDependencies": { @@ -3866,9 +3867,9 @@ } }, "node_modules/@popperjs/core": { - "version": "2.11.6", - "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz", - "integrity": "sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw==", + "version": "2.11.8", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", + "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", "funding": { "type": "opencollective", "url": "https://opencollective.com/popperjs" @@ -7988,9 +7989,9 @@ } }, "node_modules/@tiptap/core": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/core/-/core-2.0.4.tgz", - "integrity": "sha512-2YOMjRqoBGEP4YGgYpuPuBBJHMeqKOhLnS0WVwjVP84zOmMgZ7A8M6ILC9Xr7Q/qHZCvyBGWOSsI7+3HsEzzYQ==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/core/-/core-2.1.6.tgz", + "integrity": "sha512-gm8n1oiBhSP6CDhalmmWwLD7yzIUqJJ246/t8rY3o+HJ/I+p0rqCx0mPvMiwcIBmYX8tUCVz7mb9aSFUu/umOQ==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" @@ -8000,9 +8001,9 @@ } }, "node_modules/@tiptap/extension-blockquote": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-blockquote/-/extension-blockquote-2.0.4.tgz", - "integrity": "sha512-z5qfuLi04OgCBI6/odzB2vhulT/wpjymYOnON65vLXGZZbUw4cbPloykhqgWvQp+LzKH+HBhl4fz53d5CgnbOA==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-blockquote/-/extension-blockquote-2.1.6.tgz", + "integrity": "sha512-y3Jj9XcJaUjlEZZFBQUZcToOjamL64B/Jjlu7JUv87VArWWpg5Pnd2sQG3l9A/q1vfY0/TpHm7r5EvKoeIq6ag==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" @@ -8012,9 +8013,9 @@ } }, "node_modules/@tiptap/extension-bold": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-bold/-/extension-bold-2.0.4.tgz", - "integrity": "sha512-CWSQy1uWkVsen8HUsqhm+oEIxJrCiCENABUbhaVcJL/MqhnP4Trrh1B6O00Yfoc0XToPRRibDaHMFs4A3MSO0g==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-bold/-/extension-bold-2.1.6.tgz", + "integrity": "sha512-gZDVuhYdceBQ/xGGY1X7lmkgNrDHFuFYBFRWMK0pLe9YBlQtJPc6+hiOmCtRtGmbQADDnvMmSU2a0+8bckmbCw==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" @@ -8024,9 +8025,9 @@ } }, "node_modules/@tiptap/extension-bubble-menu": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-bubble-menu/-/extension-bubble-menu-2.0.4.tgz", - "integrity": "sha512-+cRZwj0YINNNDElSAiX1pvY2K98S2j9MQW2dXV5oLqsJhqGPZsKxVo8I1u7ZtqUla3QE1V18RYPAzVgTiMRkBg==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-bubble-menu/-/extension-bubble-menu-2.1.6.tgz", + "integrity": "sha512-13YDJB19xbDL/SZaPs8NvUAA+w5MIWugP8ByKQeIlL8vlcbiJjqoT77YP6v300DtFyVrnLo/iMJh9RMB4NOnwg==", "dependencies": { "tippy.js": "^6.3.7" }, @@ -8040,9 +8041,9 @@ } }, "node_modules/@tiptap/extension-bullet-list": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-bullet-list/-/extension-bullet-list-2.0.4.tgz", - "integrity": "sha512-JSZKBVTaKSuLl5fR4EKE4dOINOrgeRHYA25Vj6cWjgdvpTw5ef7vcUdn9yP4JwTmLRI+VnnMlYL3rqigU3iZNg==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-bullet-list/-/extension-bullet-list-2.1.6.tgz", + "integrity": "sha512-NjPL5cIa4wVqv62OEw4lQ4Dj4c2hxia7GtPKHZKjoot5iu1RDkzD9Cxy/0tmH0vfCwTqa0JbGf9FAxRCyok4kg==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" @@ -8052,9 +8053,9 @@ } }, "node_modules/@tiptap/extension-character-count": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-character-count/-/extension-character-count-2.0.4.tgz", - "integrity": "sha512-M2nrgHAEADk/TIBjfrXrXRaz9UA7grGTvvdESI30c59V0BFQnYa0IfCh99DCbl3DqHXro+KUZUDX3lRVQZJvBg==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-character-count/-/extension-character-count-2.1.6.tgz", + "integrity": "sha512-SvObWe7p0LnXg03oxSJapgf3qCL4NJq1pGA+FdCFVYfySGGrap/nIkiC1jtKuha6RKjfDoN28qvlDDO98xBkMQ==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" @@ -8065,9 +8066,9 @@ } }, "node_modules/@tiptap/extension-code": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-code/-/extension-code-2.0.4.tgz", - "integrity": "sha512-HuwJSJkipZf4hkns9witv1CABNIPiB9C8lgAQXK4xJKcoUQChcnljEL+PQ2NqeEeMTEeV3nG3A/0QafH0pgTgg==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-code/-/extension-code-2.1.6.tgz", + "integrity": "sha512-vFWE74Aipt0kbmWyya+9zvsAgVusbbHx8g3Zqm8iKDt95BY3MWGurCZ3F5uoVuPuWD9VSrbNs4/T6oKbVKc9Ow==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" @@ -8077,9 +8078,9 @@ } }, "node_modules/@tiptap/extension-code-block": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-code-block/-/extension-code-block-2.0.4.tgz", - "integrity": "sha512-In2tV3rgm/MznVF0N7qYsYugPWSzhZHaCRCWcFKNvllMExpo91bUWvk+hXaIhhPxvuqGIVezjybwrYuU3bJW0g==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-code-block/-/extension-code-block-2.1.6.tgz", + "integrity": "sha512-tLK9YeHYz03qeG4Sy5uZMq6v5uo34315I4WrfIAujesDloG1v8nd+D9I8A7PD4BWHZOzv13ToVeDYpLYDdvE7Q==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" @@ -8090,9 +8091,9 @@ } }, "node_modules/@tiptap/extension-document": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-document/-/extension-document-2.0.4.tgz", - "integrity": "sha512-mCj2fAhnNhIHttPSqfTPSSTGwClGaPYvhT56Ij/Pi4iCrWjPXzC4XnIkIHSS34qS2tJN4XJzr/z7lm3NeLkF1w==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-document/-/extension-document-2.1.6.tgz", + "integrity": "sha512-econFqLeQR8pe0xv7kjw6ZPRhcNXGrNi9854celX0lhqTqtBxvU6nWHzUDzoq/lmnXYgpFTPv42AwUEspvpwdw==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" @@ -8102,9 +8103,9 @@ } }, "node_modules/@tiptap/extension-dropcursor": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-dropcursor/-/extension-dropcursor-2.0.4.tgz", - "integrity": "sha512-1OmKBv/E+nJo2vsosvu8KwFiBB+gZM1pY61qc7JbwEKHSYAxUFHfvLkIA0IQ53Z0DHMrFSKgWmHEcbnqtGevCA==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-dropcursor/-/extension-dropcursor-2.1.6.tgz", + "integrity": "sha512-+nk4XtCp2+lVf1pzwonaOdIolE9AI3HPAtUO7sthHYLDIm1JEQT2GS3+MVDGHdFKxEGUkB5DEcNLtr/xLTQjZQ==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" @@ -8115,9 +8116,9 @@ } }, "node_modules/@tiptap/extension-floating-menu": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-floating-menu/-/extension-floating-menu-2.0.4.tgz", - "integrity": "sha512-0YRE738k+kNKuSHhAb3jj9ZQ7Kda78RYRr+cX2jrQVueIMKebPIY07eBt6JcKmob9V9vcNn9qLtBfmygfcPUQg==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-floating-menu/-/extension-floating-menu-2.1.6.tgz", + "integrity": "sha512-Xy4esdjsZlgNxMbBC6+wLoiTfqaqFjuFquqcYEPqzgBizYa15Ww6wIx5+h2K+hzyJkSPI7ZX/rPjKXML8lNteQ==", "dependencies": { "tippy.js": "^6.3.7" }, @@ -8131,9 +8132,9 @@ } }, "node_modules/@tiptap/extension-gapcursor": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-gapcursor/-/extension-gapcursor-2.0.4.tgz", - "integrity": "sha512-VxmKfBQjSSu1mNvHlydA4dJW/zawGKyqmnryiFNcUV9s+/HWLR5i9SiUl4wJM/B8sG8cQxClne5/LrCAeGNYuA==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-gapcursor/-/extension-gapcursor-2.1.6.tgz", + "integrity": "sha512-5AH6Je1B6JpZkMBslXw/UglMpxVwL8AXqX5xWKP2OSsKVYcL00jApq709FxfYhyqui/SukUVusKKQFstTNqIGA==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" @@ -8144,9 +8145,9 @@ } }, "node_modules/@tiptap/extension-hard-break": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-hard-break/-/extension-hard-break-2.0.4.tgz", - "integrity": "sha512-4j8BZa6diuoRytWoIc7j25EYWWut5TZDLbb+OVURdkHnsF8B8zeNTo55W40CdwSaSyTtXtxbTIldV80ShQarGQ==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-hard-break/-/extension-hard-break-2.1.6.tgz", + "integrity": "sha512-znFYceEFbrgxhHZF+/wNQlAn3MWG9/VRqQAFxPGne0csewibKZRwZbeSYZQ16x1vSAlAQsKhIaAst/na/2H8LA==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" @@ -8156,9 +8157,9 @@ } }, "node_modules/@tiptap/extension-heading": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-heading/-/extension-heading-2.0.4.tgz", - "integrity": "sha512-EfitUbew5ljH3xVlBXAxqqcJ4rjv15b8379LYOV6KQCf+Y1wY0gy9Q8wXSnrsAagqrvqipja4Ihn3OZeyIM+CA==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-heading/-/extension-heading-2.1.6.tgz", + "integrity": "sha512-V6PImalPhgAxsA95op70ssb8IXehLyr7wu5t1SeoTUUQtvMojKXPd+n+xF5b4b7VIhXHDlGSnoT0/XwjCJY0tQ==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" @@ -8168,9 +8169,9 @@ } }, "node_modules/@tiptap/extension-history": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-history/-/extension-history-2.0.4.tgz", - "integrity": "sha512-3GAUszn1xZx3vniHMiX9BSKmfvb5QOb0oSLXInN+hx80CgJDIHqIFuhx2dyV9I/HWpa0cTxaLWj64kfDzb1JVg==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-history/-/extension-history-2.1.6.tgz", + "integrity": "sha512-ltHz9cW3bWi7Z3m960F5eLPAqZDBNOpUP31t9YdKqhyxA16eygryj1USVeus9DX5OBoW79I8EecFAuRo3Rymlw==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" @@ -8181,9 +8182,9 @@ } }, "node_modules/@tiptap/extension-horizontal-rule": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-horizontal-rule/-/extension-horizontal-rule-2.0.4.tgz", - "integrity": "sha512-OMx2ImQseKbSUjPbbRCuYGOJshxYedh9giWAqwgWWokhYkH4nGxXn5m7+Laj+1wLre4bnWgHWVY4wMGniEj3aw==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-horizontal-rule/-/extension-horizontal-rule-2.1.6.tgz", + "integrity": "sha512-1epXM+4DRlhos+Awj4sHApceO2O26tuqyrZot0Mm+mF0yuCGy3B5fefAgUcxBu/oRuywfDl8cwCzN2E/d8KXtA==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" @@ -8194,9 +8195,9 @@ } }, "node_modules/@tiptap/extension-image": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-image/-/extension-image-2.0.4.tgz", - "integrity": "sha512-5iQ96pt9xppM8sWzwhGgc99PPoYPQuokTaCXAQKDI0Y1CFCjZ+/duUG3al1VUMpBXsjJw3/RVO1+7CEhRTd3mA==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-image/-/extension-image-2.1.6.tgz", + "integrity": "sha512-Ibu3yYDpWPJd9ajduzdJz8xscWNPYayWj+IATXU8FjsNvPkWpRoRZv+txfrTLOkmx8Qd3z30kriHNjZsIYLHkA==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" @@ -8206,9 +8207,9 @@ } }, "node_modules/@tiptap/extension-italic": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-italic/-/extension-italic-2.0.4.tgz", - "integrity": "sha512-C/6+qs4Jh8xERRP0wcOopA1+emK8MOkBE4RQx5NbPnT2iCpERP0GlmHBFQIjaYPctZgKFHxsCfRnneS5Xe76+A==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-italic/-/extension-italic-2.1.6.tgz", + "integrity": "sha512-o41hil+x2yqFciOiJPx67FnguJ4/aEMU8MotmXekFGHM+I0wFOd4lA5t7HqFU5Si0Z7gyTb/N0wLUbAnbyk/Aw==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" @@ -8218,9 +8219,9 @@ } }, "node_modules/@tiptap/extension-link": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-link/-/extension-link-2.0.4.tgz", - "integrity": "sha512-CliImI1hmC+J6wHxqgz9P4wMjoNSSgm3fnNHsx5z0Bn6JRA4Evh2E3KZAdMaE8xCTx89rKxMYNbamZf4VLSoqQ==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-link/-/extension-link-2.1.6.tgz", + "integrity": "sha512-at4tUpb8P2mMqc3jGMsggoKrt2mMWX0uNvoFYpKpnptQvsweCXSV5xi60o1C5kL7f0v/FYvEk4QaQBJmG5DmRg==", "dependencies": { "linkifyjs": "^4.1.0" }, @@ -8234,9 +8235,21 @@ } }, "node_modules/@tiptap/extension-list-item": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-list-item/-/extension-list-item-2.0.4.tgz", - "integrity": "sha512-tSkbLgRo1QMNDJttWs9FeRywkuy5T2HdLKKfUcUNzT3s0q5AqIJl7VyimsBL4A6MUfN1qQMZCMHB4pM9Mkluww==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-list-item/-/extension-list-item-2.1.6.tgz", + "integrity": "sha512-hgG8XzWRvhmEtb70ut2YTWfexMDu4PHgDS8WxYGOCVH0F+DwZqGF5KEARhFSPlmRUCWcmKey4sp8YDpLqShEWA==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/ueberdosis" + }, + "peerDependencies": { + "@tiptap/core": "^2.0.0" + } + }, + "node_modules/@tiptap/extension-list-keymap": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-list-keymap/-/extension-list-keymap-2.1.6.tgz", + "integrity": "sha512-cdsvFWzz42zIeAtXH5iWPlYLrl7XXM+N0jguJr/pw2ciWmpXG2D2BYEfqPtk6y+cYCigRvz5tNYFrsSzgQWWIQ==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" @@ -8246,9 +8259,9 @@ } }, "node_modules/@tiptap/extension-ordered-list": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-ordered-list/-/extension-ordered-list-2.0.4.tgz", - "integrity": "sha512-Kfg+8k9p4iJCUKP/yIa18LfUpl9trURSMP/HX3/yQTz9Ul1vDrjxeFjSE5uWNvupcXRAM24js+aYrCmV7zpU+Q==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-ordered-list/-/extension-ordered-list-2.1.6.tgz", + "integrity": "sha512-7igbJBSeCByYM9G3XHlK1sqPQtIsOlezdc4PH7xBaOtvNDd1ruGvOGFovo9b5TW8+J08KCAqy25cV4Pn72fuGw==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" @@ -8258,9 +8271,9 @@ } }, "node_modules/@tiptap/extension-paragraph": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-paragraph/-/extension-paragraph-2.0.4.tgz", - "integrity": "sha512-nDxpopi9WigVqpfi8nU3B0fWYB14EMvKIkutNZo8wJvKGTZufNI8hw66wupIx/jZH1gFxEa5dHerw6aSYuWjgQ==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-paragraph/-/extension-paragraph-2.1.6.tgz", + "integrity": "sha512-k0QSIaJPVgTn9+X2580JFCjV2RCH1Fo+gPodABDnjunfoUVSjuq0rlILEtTuha3evlS6kDKiz7lk7pIoCo36Cw==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" @@ -8270,9 +8283,9 @@ } }, "node_modules/@tiptap/extension-placeholder": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-placeholder/-/extension-placeholder-2.0.4.tgz", - "integrity": "sha512-Y8hjUYBGTbytgrsplSZdHGciqbuVHQX+h0JcuvVaIlAy1kR7hmbxJLqL8tNa7qLtTqo2MfS2942OtSv85JOCzA==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-placeholder/-/extension-placeholder-2.1.6.tgz", + "integrity": "sha512-M6C80FnbDPiZWVGFIVVOUMbqNUMhXRzlJr7uwUWP98OJfj3Du4pk8mF5Lo5MsWH3C/XW3YRbqlGPpdas3onSkQ==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" @@ -8283,9 +8296,9 @@ } }, "node_modules/@tiptap/extension-strike": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-strike/-/extension-strike-2.0.4.tgz", - "integrity": "sha512-Men7LK6N/Dh3/G4/z2Z9WkDHM2Gxx1XyxYix2ZMf5CnqY37SeDNUnGDqit65pdIN3Y/TQnOZTkKSBilSAtXfJA==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-strike/-/extension-strike-2.1.6.tgz", + "integrity": "sha512-LX7X2ohKEE0nUyWecSGxBcuzLxXTIbPmUnbkZvqYiWTaE02r3TxzkJMO0iuTnbygceC1TtiAfKwGgth0b9tMCQ==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" @@ -8295,9 +8308,9 @@ } }, "node_modules/@tiptap/extension-task-item": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-task-item/-/extension-task-item-2.0.4.tgz", - "integrity": "sha512-0FfYWrOslDzzN7Ehnt3yBekOSH45tiB/3gzFRvGdLBUv0PiYQolUpyfHGsdNzeKYuWLF1yiacJkCeLgNDgCLDw==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-task-item/-/extension-task-item-2.1.6.tgz", + "integrity": "sha512-gmXfZF1S5P9cxyL6v6XRjL0qju1mC9XPa3a+bL0lfVfiFfUti4+/iFai1KOUWA+Bdu7r/TVcP+Bxk2IRWPhSyg==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" @@ -8308,9 +8321,9 @@ } }, "node_modules/@tiptap/extension-task-list": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-task-list/-/extension-task-list-2.0.4.tgz", - "integrity": "sha512-3RGoEgGJdWpGf8aWl7O7+jnnvfpF0or2YHYYvJv13t5G4dNIS9E7QXT3/rU9QtHNYkbcJYFjHligIFuBTAhZNg==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-task-list/-/extension-task-list-2.1.6.tgz", + "integrity": "sha512-7Ytkq3ic91GEkhGa5ithTJSylcA1EPdt/iDkij2eg8mE038zqsMa6drm056vhr0f3g7a0xhHLv764kdC6vgisA==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" @@ -8320,9 +8333,9 @@ } }, "node_modules/@tiptap/extension-text": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-text/-/extension-text-2.0.4.tgz", - "integrity": "sha512-i8/VFlVZh7TkAI49KKX5JmC0tM8RGwyg5zUpozxYbLdCOv07AkJt+E1fLJty9mqH4Y5HJMNnyNxsuZ9Ol/ySRA==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-text/-/extension-text-2.1.6.tgz", + "integrity": "sha512-CqV0N6ngoXZFeJGlQ86FSZJ/0k7+BN3S6aSUcb5DRAKsSEv/Ga1LvSG24sHy+dwjTuj3EtRPJSVZTFcSB17ZSA==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" @@ -8332,9 +8345,9 @@ } }, "node_modules/@tiptap/extension-typography": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-typography/-/extension-typography-2.0.4.tgz", - "integrity": "sha512-zlv8csaHRUmQrKeyWepuHGxDlQXFzIxA9gqZdZcpoU/NbWs1SKnyEtkkpi/kchr18PZnL+1xhRsPsNNoitijIw==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-typography/-/extension-typography-2.1.6.tgz", + "integrity": "sha512-kmRskapGhjBuDEopArq6BhmNMbZCuln0IKA0lAW3y8daR0l0kGEkQLJrmDW39YiMubMEgrOCovHG1vOJQ6SKOA==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" @@ -8344,9 +8357,9 @@ } }, "node_modules/@tiptap/pm": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/pm/-/pm-2.0.4.tgz", - "integrity": "sha512-DNgxntpEaiW7ciW0BTNTL0TFqAreZTrAROWakI4XaYRAyi5H9NfZW8jmwGwMBkoZ1KB3pfy+jT/Bisy4okEQGQ==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/pm/-/pm-2.1.6.tgz", + "integrity": "sha512-JkFlZp2z6Se2Ttnabi4lkP2yLNMH/eebO7ScYL1kXvwNLgELC/I3fwQVmnYA0E8pqJ5KQXOSl14NaB1mVPJqlg==", "dependencies": { "prosemirror-changeset": "^2.2.0", "prosemirror-collab": "^1.3.0", @@ -8370,18 +8383,15 @@ "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" - }, - "peerDependencies": { - "@tiptap/core": "^2.0.0" } }, "node_modules/@tiptap/react": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/react/-/react-2.0.4.tgz", - "integrity": "sha512-NcrZL4Tu3+1Xfj/us5AOD7+kJhwYo2XViOB2iRRnfwS80PUtiLWDis6o3ngMGot/jBWzaMn4gofXnMWHtFdIAw==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/react/-/react-2.1.6.tgz", + "integrity": "sha512-HEsoFlcE61gQz9TllEtBa+5d909MA/ersbxGYOUWIY2HhH5lvNIUvyJ3pdzMkK/4cSniMsDDqobFexsGyTAsrw==", "dependencies": { - "@tiptap/extension-bubble-menu": "^2.0.4", - "@tiptap/extension-floating-menu": "^2.0.4" + "@tiptap/extension-bubble-menu": "^2.1.6", + "@tiptap/extension-floating-menu": "^2.1.6" }, "funding": { "type": "github", @@ -8395,9 +8405,9 @@ } }, "node_modules/@tiptap/suggestion": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/suggestion/-/suggestion-2.0.4.tgz", - "integrity": "sha512-C5LGGjH8VFET34V7vKkqlwpSzrPl+7oAcj9h+P3jvJQ076iYpmpnMtz6dNLSFGKpHp5mtyl4RoJzh7lTvlfyiA==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/suggestion/-/suggestion-2.1.6.tgz", + "integrity": "sha512-8nMVARHbJ4Q9eeB7gmvqNommx6/RuFkrJEmmqxSrgyiqYEqb/if5ZTa1LGRWRNZYuzmeVN/r3eUu33jn+o5kJg==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" @@ -32920,9 +32930,9 @@ } }, "@popperjs/core": { - "version": "2.11.6", - "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz", - "integrity": "sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw==" + "version": "2.11.8", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", + "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==" }, "@radix-ui/number": { "version": "1.0.1", @@ -35479,183 +35489,189 @@ } }, "@tiptap/core": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/core/-/core-2.0.4.tgz", - "integrity": "sha512-2YOMjRqoBGEP4YGgYpuPuBBJHMeqKOhLnS0WVwjVP84zOmMgZ7A8M6ILC9Xr7Q/qHZCvyBGWOSsI7+3HsEzzYQ==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/core/-/core-2.1.6.tgz", + "integrity": "sha512-gm8n1oiBhSP6CDhalmmWwLD7yzIUqJJ246/t8rY3o+HJ/I+p0rqCx0mPvMiwcIBmYX8tUCVz7mb9aSFUu/umOQ==", "requires": {} }, "@tiptap/extension-blockquote": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-blockquote/-/extension-blockquote-2.0.4.tgz", - "integrity": "sha512-z5qfuLi04OgCBI6/odzB2vhulT/wpjymYOnON65vLXGZZbUw4cbPloykhqgWvQp+LzKH+HBhl4fz53d5CgnbOA==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-blockquote/-/extension-blockquote-2.1.6.tgz", + "integrity": "sha512-y3Jj9XcJaUjlEZZFBQUZcToOjamL64B/Jjlu7JUv87VArWWpg5Pnd2sQG3l9A/q1vfY0/TpHm7r5EvKoeIq6ag==", "requires": {} }, "@tiptap/extension-bold": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-bold/-/extension-bold-2.0.4.tgz", - "integrity": "sha512-CWSQy1uWkVsen8HUsqhm+oEIxJrCiCENABUbhaVcJL/MqhnP4Trrh1B6O00Yfoc0XToPRRibDaHMFs4A3MSO0g==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-bold/-/extension-bold-2.1.6.tgz", + "integrity": "sha512-gZDVuhYdceBQ/xGGY1X7lmkgNrDHFuFYBFRWMK0pLe9YBlQtJPc6+hiOmCtRtGmbQADDnvMmSU2a0+8bckmbCw==", "requires": {} }, "@tiptap/extension-bubble-menu": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-bubble-menu/-/extension-bubble-menu-2.0.4.tgz", - "integrity": "sha512-+cRZwj0YINNNDElSAiX1pvY2K98S2j9MQW2dXV5oLqsJhqGPZsKxVo8I1u7ZtqUla3QE1V18RYPAzVgTiMRkBg==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-bubble-menu/-/extension-bubble-menu-2.1.6.tgz", + "integrity": "sha512-13YDJB19xbDL/SZaPs8NvUAA+w5MIWugP8ByKQeIlL8vlcbiJjqoT77YP6v300DtFyVrnLo/iMJh9RMB4NOnwg==", "requires": { "tippy.js": "^6.3.7" } }, "@tiptap/extension-bullet-list": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-bullet-list/-/extension-bullet-list-2.0.4.tgz", - "integrity": "sha512-JSZKBVTaKSuLl5fR4EKE4dOINOrgeRHYA25Vj6cWjgdvpTw5ef7vcUdn9yP4JwTmLRI+VnnMlYL3rqigU3iZNg==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-bullet-list/-/extension-bullet-list-2.1.6.tgz", + "integrity": "sha512-NjPL5cIa4wVqv62OEw4lQ4Dj4c2hxia7GtPKHZKjoot5iu1RDkzD9Cxy/0tmH0vfCwTqa0JbGf9FAxRCyok4kg==", "requires": {} }, "@tiptap/extension-character-count": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-character-count/-/extension-character-count-2.0.4.tgz", - "integrity": "sha512-M2nrgHAEADk/TIBjfrXrXRaz9UA7grGTvvdESI30c59V0BFQnYa0IfCh99DCbl3DqHXro+KUZUDX3lRVQZJvBg==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-character-count/-/extension-character-count-2.1.6.tgz", + "integrity": "sha512-SvObWe7p0LnXg03oxSJapgf3qCL4NJq1pGA+FdCFVYfySGGrap/nIkiC1jtKuha6RKjfDoN28qvlDDO98xBkMQ==", "requires": {} }, "@tiptap/extension-code": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-code/-/extension-code-2.0.4.tgz", - "integrity": "sha512-HuwJSJkipZf4hkns9witv1CABNIPiB9C8lgAQXK4xJKcoUQChcnljEL+PQ2NqeEeMTEeV3nG3A/0QafH0pgTgg==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-code/-/extension-code-2.1.6.tgz", + "integrity": "sha512-vFWE74Aipt0kbmWyya+9zvsAgVusbbHx8g3Zqm8iKDt95BY3MWGurCZ3F5uoVuPuWD9VSrbNs4/T6oKbVKc9Ow==", "requires": {} }, "@tiptap/extension-code-block": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-code-block/-/extension-code-block-2.0.4.tgz", - "integrity": "sha512-In2tV3rgm/MznVF0N7qYsYugPWSzhZHaCRCWcFKNvllMExpo91bUWvk+hXaIhhPxvuqGIVezjybwrYuU3bJW0g==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-code-block/-/extension-code-block-2.1.6.tgz", + "integrity": "sha512-tLK9YeHYz03qeG4Sy5uZMq6v5uo34315I4WrfIAujesDloG1v8nd+D9I8A7PD4BWHZOzv13ToVeDYpLYDdvE7Q==", "requires": {} }, "@tiptap/extension-document": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-document/-/extension-document-2.0.4.tgz", - "integrity": "sha512-mCj2fAhnNhIHttPSqfTPSSTGwClGaPYvhT56Ij/Pi4iCrWjPXzC4XnIkIHSS34qS2tJN4XJzr/z7lm3NeLkF1w==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-document/-/extension-document-2.1.6.tgz", + "integrity": "sha512-econFqLeQR8pe0xv7kjw6ZPRhcNXGrNi9854celX0lhqTqtBxvU6nWHzUDzoq/lmnXYgpFTPv42AwUEspvpwdw==", "requires": {} }, "@tiptap/extension-dropcursor": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-dropcursor/-/extension-dropcursor-2.0.4.tgz", - "integrity": "sha512-1OmKBv/E+nJo2vsosvu8KwFiBB+gZM1pY61qc7JbwEKHSYAxUFHfvLkIA0IQ53Z0DHMrFSKgWmHEcbnqtGevCA==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-dropcursor/-/extension-dropcursor-2.1.6.tgz", + "integrity": "sha512-+nk4XtCp2+lVf1pzwonaOdIolE9AI3HPAtUO7sthHYLDIm1JEQT2GS3+MVDGHdFKxEGUkB5DEcNLtr/xLTQjZQ==", "requires": {} }, "@tiptap/extension-floating-menu": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-floating-menu/-/extension-floating-menu-2.0.4.tgz", - "integrity": "sha512-0YRE738k+kNKuSHhAb3jj9ZQ7Kda78RYRr+cX2jrQVueIMKebPIY07eBt6JcKmob9V9vcNn9qLtBfmygfcPUQg==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-floating-menu/-/extension-floating-menu-2.1.6.tgz", + "integrity": "sha512-Xy4esdjsZlgNxMbBC6+wLoiTfqaqFjuFquqcYEPqzgBizYa15Ww6wIx5+h2K+hzyJkSPI7ZX/rPjKXML8lNteQ==", "requires": { "tippy.js": "^6.3.7" } }, "@tiptap/extension-gapcursor": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-gapcursor/-/extension-gapcursor-2.0.4.tgz", - "integrity": "sha512-VxmKfBQjSSu1mNvHlydA4dJW/zawGKyqmnryiFNcUV9s+/HWLR5i9SiUl4wJM/B8sG8cQxClne5/LrCAeGNYuA==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-gapcursor/-/extension-gapcursor-2.1.6.tgz", + "integrity": "sha512-5AH6Je1B6JpZkMBslXw/UglMpxVwL8AXqX5xWKP2OSsKVYcL00jApq709FxfYhyqui/SukUVusKKQFstTNqIGA==", "requires": {} }, "@tiptap/extension-hard-break": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-hard-break/-/extension-hard-break-2.0.4.tgz", - "integrity": "sha512-4j8BZa6diuoRytWoIc7j25EYWWut5TZDLbb+OVURdkHnsF8B8zeNTo55W40CdwSaSyTtXtxbTIldV80ShQarGQ==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-hard-break/-/extension-hard-break-2.1.6.tgz", + "integrity": "sha512-znFYceEFbrgxhHZF+/wNQlAn3MWG9/VRqQAFxPGne0csewibKZRwZbeSYZQ16x1vSAlAQsKhIaAst/na/2H8LA==", "requires": {} }, "@tiptap/extension-heading": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-heading/-/extension-heading-2.0.4.tgz", - "integrity": "sha512-EfitUbew5ljH3xVlBXAxqqcJ4rjv15b8379LYOV6KQCf+Y1wY0gy9Q8wXSnrsAagqrvqipja4Ihn3OZeyIM+CA==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-heading/-/extension-heading-2.1.6.tgz", + "integrity": "sha512-V6PImalPhgAxsA95op70ssb8IXehLyr7wu5t1SeoTUUQtvMojKXPd+n+xF5b4b7VIhXHDlGSnoT0/XwjCJY0tQ==", "requires": {} }, "@tiptap/extension-history": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-history/-/extension-history-2.0.4.tgz", - "integrity": "sha512-3GAUszn1xZx3vniHMiX9BSKmfvb5QOb0oSLXInN+hx80CgJDIHqIFuhx2dyV9I/HWpa0cTxaLWj64kfDzb1JVg==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-history/-/extension-history-2.1.6.tgz", + "integrity": "sha512-ltHz9cW3bWi7Z3m960F5eLPAqZDBNOpUP31t9YdKqhyxA16eygryj1USVeus9DX5OBoW79I8EecFAuRo3Rymlw==", "requires": {} }, "@tiptap/extension-horizontal-rule": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-horizontal-rule/-/extension-horizontal-rule-2.0.4.tgz", - "integrity": "sha512-OMx2ImQseKbSUjPbbRCuYGOJshxYedh9giWAqwgWWokhYkH4nGxXn5m7+Laj+1wLre4bnWgHWVY4wMGniEj3aw==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-horizontal-rule/-/extension-horizontal-rule-2.1.6.tgz", + "integrity": "sha512-1epXM+4DRlhos+Awj4sHApceO2O26tuqyrZot0Mm+mF0yuCGy3B5fefAgUcxBu/oRuywfDl8cwCzN2E/d8KXtA==", "requires": {} }, "@tiptap/extension-image": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-image/-/extension-image-2.0.4.tgz", - "integrity": "sha512-5iQ96pt9xppM8sWzwhGgc99PPoYPQuokTaCXAQKDI0Y1CFCjZ+/duUG3al1VUMpBXsjJw3/RVO1+7CEhRTd3mA==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-image/-/extension-image-2.1.6.tgz", + "integrity": "sha512-Ibu3yYDpWPJd9ajduzdJz8xscWNPYayWj+IATXU8FjsNvPkWpRoRZv+txfrTLOkmx8Qd3z30kriHNjZsIYLHkA==", "requires": {} }, "@tiptap/extension-italic": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-italic/-/extension-italic-2.0.4.tgz", - "integrity": "sha512-C/6+qs4Jh8xERRP0wcOopA1+emK8MOkBE4RQx5NbPnT2iCpERP0GlmHBFQIjaYPctZgKFHxsCfRnneS5Xe76+A==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-italic/-/extension-italic-2.1.6.tgz", + "integrity": "sha512-o41hil+x2yqFciOiJPx67FnguJ4/aEMU8MotmXekFGHM+I0wFOd4lA5t7HqFU5Si0Z7gyTb/N0wLUbAnbyk/Aw==", "requires": {} }, "@tiptap/extension-link": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-link/-/extension-link-2.0.4.tgz", - "integrity": "sha512-CliImI1hmC+J6wHxqgz9P4wMjoNSSgm3fnNHsx5z0Bn6JRA4Evh2E3KZAdMaE8xCTx89rKxMYNbamZf4VLSoqQ==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-link/-/extension-link-2.1.6.tgz", + "integrity": "sha512-at4tUpb8P2mMqc3jGMsggoKrt2mMWX0uNvoFYpKpnptQvsweCXSV5xi60o1C5kL7f0v/FYvEk4QaQBJmG5DmRg==", "requires": { "linkifyjs": "^4.1.0" } }, "@tiptap/extension-list-item": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-list-item/-/extension-list-item-2.0.4.tgz", - "integrity": "sha512-tSkbLgRo1QMNDJttWs9FeRywkuy5T2HdLKKfUcUNzT3s0q5AqIJl7VyimsBL4A6MUfN1qQMZCMHB4pM9Mkluww==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-list-item/-/extension-list-item-2.1.6.tgz", + "integrity": "sha512-hgG8XzWRvhmEtb70ut2YTWfexMDu4PHgDS8WxYGOCVH0F+DwZqGF5KEARhFSPlmRUCWcmKey4sp8YDpLqShEWA==", + "requires": {} + }, + "@tiptap/extension-list-keymap": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-list-keymap/-/extension-list-keymap-2.1.6.tgz", + "integrity": "sha512-cdsvFWzz42zIeAtXH5iWPlYLrl7XXM+N0jguJr/pw2ciWmpXG2D2BYEfqPtk6y+cYCigRvz5tNYFrsSzgQWWIQ==", "requires": {} }, "@tiptap/extension-ordered-list": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-ordered-list/-/extension-ordered-list-2.0.4.tgz", - "integrity": "sha512-Kfg+8k9p4iJCUKP/yIa18LfUpl9trURSMP/HX3/yQTz9Ul1vDrjxeFjSE5uWNvupcXRAM24js+aYrCmV7zpU+Q==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-ordered-list/-/extension-ordered-list-2.1.6.tgz", + "integrity": "sha512-7igbJBSeCByYM9G3XHlK1sqPQtIsOlezdc4PH7xBaOtvNDd1ruGvOGFovo9b5TW8+J08KCAqy25cV4Pn72fuGw==", "requires": {} }, "@tiptap/extension-paragraph": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-paragraph/-/extension-paragraph-2.0.4.tgz", - "integrity": "sha512-nDxpopi9WigVqpfi8nU3B0fWYB14EMvKIkutNZo8wJvKGTZufNI8hw66wupIx/jZH1gFxEa5dHerw6aSYuWjgQ==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-paragraph/-/extension-paragraph-2.1.6.tgz", + "integrity": "sha512-k0QSIaJPVgTn9+X2580JFCjV2RCH1Fo+gPodABDnjunfoUVSjuq0rlILEtTuha3evlS6kDKiz7lk7pIoCo36Cw==", "requires": {} }, "@tiptap/extension-placeholder": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-placeholder/-/extension-placeholder-2.0.4.tgz", - "integrity": "sha512-Y8hjUYBGTbytgrsplSZdHGciqbuVHQX+h0JcuvVaIlAy1kR7hmbxJLqL8tNa7qLtTqo2MfS2942OtSv85JOCzA==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-placeholder/-/extension-placeholder-2.1.6.tgz", + "integrity": "sha512-M6C80FnbDPiZWVGFIVVOUMbqNUMhXRzlJr7uwUWP98OJfj3Du4pk8mF5Lo5MsWH3C/XW3YRbqlGPpdas3onSkQ==", "requires": {} }, "@tiptap/extension-strike": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-strike/-/extension-strike-2.0.4.tgz", - "integrity": "sha512-Men7LK6N/Dh3/G4/z2Z9WkDHM2Gxx1XyxYix2ZMf5CnqY37SeDNUnGDqit65pdIN3Y/TQnOZTkKSBilSAtXfJA==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-strike/-/extension-strike-2.1.6.tgz", + "integrity": "sha512-LX7X2ohKEE0nUyWecSGxBcuzLxXTIbPmUnbkZvqYiWTaE02r3TxzkJMO0iuTnbygceC1TtiAfKwGgth0b9tMCQ==", "requires": {} }, "@tiptap/extension-task-item": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-task-item/-/extension-task-item-2.0.4.tgz", - "integrity": "sha512-0FfYWrOslDzzN7Ehnt3yBekOSH45tiB/3gzFRvGdLBUv0PiYQolUpyfHGsdNzeKYuWLF1yiacJkCeLgNDgCLDw==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-task-item/-/extension-task-item-2.1.6.tgz", + "integrity": "sha512-gmXfZF1S5P9cxyL6v6XRjL0qju1mC9XPa3a+bL0lfVfiFfUti4+/iFai1KOUWA+Bdu7r/TVcP+Bxk2IRWPhSyg==", "requires": {} }, "@tiptap/extension-task-list": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-task-list/-/extension-task-list-2.0.4.tgz", - "integrity": "sha512-3RGoEgGJdWpGf8aWl7O7+jnnvfpF0or2YHYYvJv13t5G4dNIS9E7QXT3/rU9QtHNYkbcJYFjHligIFuBTAhZNg==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-task-list/-/extension-task-list-2.1.6.tgz", + "integrity": "sha512-7Ytkq3ic91GEkhGa5ithTJSylcA1EPdt/iDkij2eg8mE038zqsMa6drm056vhr0f3g7a0xhHLv764kdC6vgisA==", "requires": {} }, "@tiptap/extension-text": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-text/-/extension-text-2.0.4.tgz", - "integrity": "sha512-i8/VFlVZh7TkAI49KKX5JmC0tM8RGwyg5zUpozxYbLdCOv07AkJt+E1fLJty9mqH4Y5HJMNnyNxsuZ9Ol/ySRA==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-text/-/extension-text-2.1.6.tgz", + "integrity": "sha512-CqV0N6ngoXZFeJGlQ86FSZJ/0k7+BN3S6aSUcb5DRAKsSEv/Ga1LvSG24sHy+dwjTuj3EtRPJSVZTFcSB17ZSA==", "requires": {} }, "@tiptap/extension-typography": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/extension-typography/-/extension-typography-2.0.4.tgz", - "integrity": "sha512-zlv8csaHRUmQrKeyWepuHGxDlQXFzIxA9gqZdZcpoU/NbWs1SKnyEtkkpi/kchr18PZnL+1xhRsPsNNoitijIw==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/extension-typography/-/extension-typography-2.1.6.tgz", + "integrity": "sha512-kmRskapGhjBuDEopArq6BhmNMbZCuln0IKA0lAW3y8daR0l0kGEkQLJrmDW39YiMubMEgrOCovHG1vOJQ6SKOA==", "requires": {} }, "@tiptap/pm": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/pm/-/pm-2.0.4.tgz", - "integrity": "sha512-DNgxntpEaiW7ciW0BTNTL0TFqAreZTrAROWakI4XaYRAyi5H9NfZW8jmwGwMBkoZ1KB3pfy+jT/Bisy4okEQGQ==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/pm/-/pm-2.1.6.tgz", + "integrity": "sha512-JkFlZp2z6Se2Ttnabi4lkP2yLNMH/eebO7ScYL1kXvwNLgELC/I3fwQVmnYA0E8pqJ5KQXOSl14NaB1mVPJqlg==", "requires": { "prosemirror-changeset": "^2.2.0", "prosemirror-collab": "^1.3.0", @@ -35678,18 +35694,18 @@ } }, "@tiptap/react": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/react/-/react-2.0.4.tgz", - "integrity": "sha512-NcrZL4Tu3+1Xfj/us5AOD7+kJhwYo2XViOB2iRRnfwS80PUtiLWDis6o3ngMGot/jBWzaMn4gofXnMWHtFdIAw==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/react/-/react-2.1.6.tgz", + "integrity": "sha512-HEsoFlcE61gQz9TllEtBa+5d909MA/ersbxGYOUWIY2HhH5lvNIUvyJ3pdzMkK/4cSniMsDDqobFexsGyTAsrw==", "requires": { - "@tiptap/extension-bubble-menu": "^2.0.4", - "@tiptap/extension-floating-menu": "^2.0.4" + "@tiptap/extension-bubble-menu": "^2.1.6", + "@tiptap/extension-floating-menu": "^2.1.6" } }, "@tiptap/suggestion": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@tiptap/suggestion/-/suggestion-2.0.4.tgz", - "integrity": "sha512-C5LGGjH8VFET34V7vKkqlwpSzrPl+7oAcj9h+P3jvJQ076iYpmpnMtz6dNLSFGKpHp5mtyl4RoJzh7lTvlfyiA==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@tiptap/suggestion/-/suggestion-2.1.6.tgz", + "integrity": "sha512-8nMVARHbJ4Q9eeB7gmvqNommx6/RuFkrJEmmqxSrgyiqYEqb/if5ZTa1LGRWRNZYuzmeVN/r3eUu33jn+o5kJg==", "requires": {} }, "@tootallnate/once": { diff --git a/package.json b/package.json index 598550b5..446135aa 100644 --- a/package.json +++ b/package.json @@ -46,35 +46,36 @@ "validate:pre-push": "run-s test" }, "dependencies": { - "@tiptap/core": "2.0.4", - "@tiptap/extension-blockquote": "2.0.4", - "@tiptap/extension-bold": "2.0.4", - "@tiptap/extension-bullet-list": "2.0.4", - "@tiptap/extension-character-count": "2.0.4", - "@tiptap/extension-code": "2.0.4", - "@tiptap/extension-code-block": "2.0.4", - "@tiptap/extension-document": "2.0.4", - "@tiptap/extension-dropcursor": "2.0.4", - "@tiptap/extension-gapcursor": "2.0.4", - "@tiptap/extension-hard-break": "2.0.4", - "@tiptap/extension-heading": "2.0.4", - "@tiptap/extension-history": "2.0.4", - "@tiptap/extension-horizontal-rule": "2.0.4", - "@tiptap/extension-image": "2.0.4", - "@tiptap/extension-italic": "2.0.4", - "@tiptap/extension-link": "2.0.4", - "@tiptap/extension-list-item": "2.0.4", - "@tiptap/extension-ordered-list": "2.0.4", - "@tiptap/extension-paragraph": "2.0.4", - "@tiptap/extension-placeholder": "2.0.4", - "@tiptap/extension-strike": "2.0.4", - "@tiptap/extension-task-item": "2.0.4", - "@tiptap/extension-task-list": "2.0.4", - "@tiptap/extension-text": "2.0.4", - "@tiptap/extension-typography": "2.0.4", - "@tiptap/pm": "2.0.4", - "@tiptap/react": "2.0.4", - "@tiptap/suggestion": "2.0.4", + "@tiptap/core": "2.1.6", + "@tiptap/extension-blockquote": "2.1.6", + "@tiptap/extension-bold": "2.1.6", + "@tiptap/extension-bullet-list": "2.1.6", + "@tiptap/extension-character-count": "2.1.6", + "@tiptap/extension-code": "2.1.6", + "@tiptap/extension-code-block": "2.1.6", + "@tiptap/extension-document": "2.1.6", + "@tiptap/extension-dropcursor": "2.1.6", + "@tiptap/extension-gapcursor": "2.1.6", + "@tiptap/extension-hard-break": "2.1.6", + "@tiptap/extension-heading": "2.1.6", + "@tiptap/extension-history": "2.1.6", + "@tiptap/extension-horizontal-rule": "2.1.6", + "@tiptap/extension-image": "2.1.6", + "@tiptap/extension-italic": "2.1.6", + "@tiptap/extension-link": "2.1.6", + "@tiptap/extension-list-item": "2.1.6", + "@tiptap/extension-list-keymap": "2.1.6", + "@tiptap/extension-ordered-list": "2.1.6", + "@tiptap/extension-paragraph": "2.1.6", + "@tiptap/extension-placeholder": "2.1.6", + "@tiptap/extension-strike": "2.1.6", + "@tiptap/extension-task-item": "2.1.6", + "@tiptap/extension-task-list": "2.1.6", + "@tiptap/extension-text": "2.1.6", + "@tiptap/extension-typography": "2.1.6", + "@tiptap/pm": "2.1.6", + "@tiptap/react": "2.1.6", + "@tiptap/suggestion": "2.1.6", "prosemirror-codemark": "0.4.2" }, "devDependencies": { diff --git a/src/components/typist-editor.test.tsx b/src/components/typist-editor.test.tsx index fd4e52d3..13d44449 100644 --- a/src/components/typist-editor.test.tsx +++ b/src/components/typist-editor.test.tsx @@ -65,7 +65,8 @@ describe('', () => { test('validate HTML attributes defined by Tiptap/ProseMirror', () => { renderPlainTextEditor() - expect(screen.getByRole('textbox')).toHaveAttribute('class', 'ProseMirror') + expect(screen.getByRole('textbox')).toHaveClass('tiptap') + expect(screen.getByRole('textbox')).toHaveClass('ProseMirror') expect(screen.getByRole('textbox')).toHaveAttribute('contenteditable', 'true') expect(screen.getByRole('textbox')).toHaveAttribute('tabindex', '0') expect(screen.getByRole('textbox')).toHaveAttribute('translate', 'no') @@ -142,7 +143,8 @@ describe('', () => { test('validate HTML attributes defined by Tiptap/ProseMirror', () => { renderRichTextEditor() - expect(screen.getByRole('textbox')).toHaveAttribute('class', 'ProseMirror') + expect(screen.getByRole('textbox')).toHaveClass('tiptap') + expect(screen.getByRole('textbox')).toHaveClass('ProseMirror') expect(screen.getByRole('textbox')).toHaveAttribute('contenteditable', 'true') expect(screen.getByRole('textbox')).toHaveAttribute('tabindex', '0') expect(screen.getByRole('textbox')).toHaveAttribute('translate', 'no') diff --git a/src/extensions/rich-text/rich-text-horizontal-rule.ts b/src/extensions/rich-text/rich-text-horizontal-rule.ts deleted file mode 100644 index 6746e5aa..00000000 --- a/src/extensions/rich-text/rich-text-horizontal-rule.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { InputRule } from '@tiptap/core' -import { HorizontalRule } from '@tiptap/extension-horizontal-rule' - -import type { HorizontalRuleOptions } from '@tiptap/extension-horizontal-rule' - -/** - * The input regex for Markdown horizontal rules. - */ -const inputRegex = /^(?:---|—-|___\s|\*\*\*\s)$/ - -/** - * Custom extension that extends the built-in `HorizontalRule` extension to fix an issue with the - * built-in input rule that adds extra paragraph node above the horizontal rule. - * - * @see https://github.com/ueberdosis/tiptap/issues/3809 - * @see https://github.com/ueberdosis/tiptap/pull/3859#issuecomment-1536799740 - */ -const RichTextHorizontalRule = HorizontalRule.extend({ - addInputRules() { - const { type } = this - - return [ - new InputRule({ - find: inputRegex, - handler({ state: { tr }, range }) { - tr.insert(range.from - 1, type.create({})).delete( - tr.mapping.map(range.from), - tr.mapping.map(range.to), - ) - }, - }), - ] - }, -}) - -export { RichTextHorizontalRule } - -export type { HorizontalRuleOptions as RichTextHorizontalRuleOptions } diff --git a/src/extensions/rich-text/rich-text-kit.ts b/src/extensions/rich-text/rich-text-kit.ts index 343a6f0c..eb0ed1de 100644 --- a/src/extensions/rich-text/rich-text-kit.ts +++ b/src/extensions/rich-text/rich-text-kit.ts @@ -8,11 +8,12 @@ import { Gapcursor } from '@tiptap/extension-gapcursor' import { HardBreak } from '@tiptap/extension-hard-break' import { Heading } from '@tiptap/extension-heading' import { History } from '@tiptap/extension-history' +import { HorizontalRule } from '@tiptap/extension-horizontal-rule' import { Italic } from '@tiptap/extension-italic' import { ListItem } from '@tiptap/extension-list-item' +import { ListKeymap } from '@tiptap/extension-list-keymap' import { OrderedList } from '@tiptap/extension-ordered-list' import { Paragraph } from '@tiptap/extension-paragraph' -import { Strike } from '@tiptap/extension-strike' import { Text } from '@tiptap/extension-text' import { Typography } from '@tiptap/extension-typography' @@ -27,9 +28,9 @@ import { PasteEmojis } from './paste-emojis' import { PasteMarkdown } from './paste-markdown' import { RichTextCode } from './rich-text-code' import { RichTextDocument } from './rich-text-document' -import { RichTextHorizontalRule } from './rich-text-horizontal-rule' import { RichTextImage } from './rich-text-image' import { RichTextLink } from './rich-text-link' +import { RichTextStrikethrough, RichTextStrikethroughOptions } from './rich-text-strikethrough' import type { Extensions } from '@tiptap/core' import type { BlockquoteOptions } from '@tiptap/extension-blockquote' @@ -41,13 +42,13 @@ import type { DropcursorOptions } from '@tiptap/extension-dropcursor' import type { HardBreakOptions } from '@tiptap/extension-hard-break' import type { HeadingOptions } from '@tiptap/extension-heading' import type { HistoryOptions } from '@tiptap/extension-history' +import type { HorizontalRuleOptions } from '@tiptap/extension-horizontal-rule' import type { ItalicOptions } from '@tiptap/extension-italic' import type { ListItemOptions } from '@tiptap/extension-list-item' +import type { ListKeymapOptions } from '@tiptap/extension-list-keymap' import type { OrderedListOptions } from '@tiptap/extension-ordered-list' import type { ParagraphOptions } from '@tiptap/extension-paragraph' -import type { StrikeOptions } from '@tiptap/extension-strike' import type { RichTextDocumentOptions } from './rich-text-document' -import type { RichTextHorizontalRuleOptions } from './rich-text-horizontal-rule' import type { RichTextImageOptions } from './rich-text-image' import type { RichTextLinkOptions } from './rich-text-link' @@ -113,7 +114,7 @@ type RichTextKitOptions = { /** * Set options for the `HorizontalRule` extension, or `false` to disable. */ - horizontalRule: Partial | false + horizontalRule: Partial | false /** * Set options for the `Image` extension, or `false` to disable. @@ -135,6 +136,11 @@ type RichTextKitOptions = { */ listItem: Partial | false + /** + * Set options for the `ListKeymap` extension, or `false` to disable. + */ + listKeymap: Partial | false + /** * Set options for the `OrderedList` extension, or `false` to disable. */ @@ -168,7 +174,7 @@ type RichTextKitOptions = { /** * Set options for the `Strike` extension, or `false` to disable. */ - strike: Partial | false + strike: Partial | false /** * Set to `false` to disable the `Text` extension. @@ -276,7 +282,7 @@ const RichTextKit = Extension.create({ } if (this.options.horizontalRule !== false) { - extensions.push(RichTextHorizontalRule.configure(this.options?.horizontalRule)) + extensions.push(HorizontalRule.configure(this.options?.horizontalRule)) } if (this.options.image !== false) { @@ -299,6 +305,10 @@ const RichTextKit = Extension.create({ extensions.push(ListItem.configure(this.options?.listItem)) } + if (this.options.listKeymap !== false) { + extensions.push(ListKeymap) + } + if (this.options.orderedList !== false) { extensions.push(OrderedList.configure(this.options?.orderedList)) } @@ -308,7 +318,7 @@ const RichTextKit = Extension.create({ } if (this.options.strike !== false) { - extensions.push(Strike.configure(this.options?.strike)) + extensions.push(RichTextStrikethrough.configure(this.options?.strike)) } if (this.options.text !== false) { diff --git a/src/extensions/rich-text/rich-text-strikethrough.ts b/src/extensions/rich-text/rich-text-strikethrough.ts new file mode 100644 index 00000000..7d4b6bed --- /dev/null +++ b/src/extensions/rich-text/rich-text-strikethrough.ts @@ -0,0 +1,18 @@ +import { Strike } from '@tiptap/extension-strike' + +import type { StrikeOptions } from '@tiptap/extension-strike' + +/** + * Custom extension that extends the built-in `Strike` extension to overwrite the default keyboard. + */ +const RichTextStrikethrough = Strike.extend({ + addKeyboardShortcuts() { + return { + 'Mod-Shift-x': () => this.editor.commands.toggleStrike(), + } + }, +}) + +export { RichTextStrikethrough } + +export type { StrikeOptions as RichTextStrikethroughOptions }