{"_id":"@hyvor/richtext","_rev":"27-39f28bdf6e569693bdd8df6a573375dd","name":"@hyvor/richtext","dist-tags":{"beta":"0.0.17-beta.diff.6","latest":"0.0.24"},"versions":{"0.0.4":{"name":"@hyvor/richtext","version":"0.0.4","license":"MIT","_id":"@hyvor/richtext@0.0.4","maintainers":[{"name":"supunkavinda","email":"hi@supun.io"}],"dist":{"shasum":"00a083c3fe2f218ab48f4666f83d90c478110c46","tarball":"https://registry.npmjs.org/@hyvor/richtext/-/richtext-0.0.4.tgz","fileCount":129,"integrity":"sha512-mLUqhTOyBvXqArNsLJQuPG6tzNGpA2rbBJfKBVZ1ItuyxXlHqk7fd2LiNM6ETX4UinHQMaqrc9pB9++V97oB0A==","signatures":[{"sig":"MEUCIBeHl06DQxBTmjBZwdAxN+T0qohdzQ7vFkzT1w6q2EwmAiEA9rCePJn+mNInWKgZH9F0Jx42Fuw7TseADyNaa0nSZSc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":221358},"type":"module","exports":{".":{"types":"./dist/index.d.ts","svelte":"./src/index.js"}},"gitHead":"2b7a6b7a0f3ff6f72c5de6211d2a32e98561171c","private":false,"scripts":{"dev":"vite","build":"vite build","check":"svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json","package":"svelte-kit sync && svelte-package","preview":"vite preview"},"_npmUser":{"name":"supunkavinda","email":"hi@supun.io"},"_npmVersion":"10.9.0","description":"Rich Text Editor for Hyvor Blogs & Hyvor Posts","directories":{},"_nodeVersion":"23.3.0","dependencies":{"tldts":"^6.1.77","codemirror":"^5.0.0","prosemirror-view":"^1.32.7","@sveltejs/package":"^2.4.0","prosemirror-model":"^1.19.4","prosemirror-state":"^1.4.3","prosemirror-tables":"^1.3.5","prosemirror-history":"^1.3.2","prosemirror-codemark":"^0.4.2","prosemirror-commands":"^1.5.2","prosemirror-gapcursor":"^1.3.2","prosemirror-dropcursor":"^1.8.1","prosemirror-inputrules":"^1.3.0","prosemirror-schema-list":"^1.3.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.1.0","typescript":"~5.7.2","svelte-check":"^4.1.4","@tsconfig/svelte":"^5.0.4","@sveltejs/vite-plugin-svelte":"^5.0.3"},"peerDependencies":{"svelte":">=5","@hyvor/icons":"^1.1.0","@hyvor/design":"^1.1.8"},"_npmOperationalInternal":{"tmp":"tmp/richtext_0.0.4_1753132041849_0.709625646959007","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@hyvor/richtext","version":"0.0.5","license":"MIT","_id":"@hyvor/richtext@0.0.5","maintainers":[{"name":"supunkavinda","email":"hi@supun.io"}],"dist":{"shasum":"a0603d4d128ee211fdc37ff1c57e0415a37f158e","tarball":"https://registry.npmjs.org/@hyvor/richtext/-/richtext-0.0.5.tgz","fileCount":129,"integrity":"sha512-KFxMB6LOPP8ZR9YeK6WaojvFs32eFwhQ7g8M41+XTpoiGwFOlxU+ypKkMTa479nJB5srFK39yqgdI2pYR913JA==","signatures":[{"sig":"MEYCIQDvJN+rjY7tOqpq+p6I9cT3DvH99PpCLKca54AeBm8y2gIhAI5JcdSC2nbDBd5sdnGeuljWnkrakUiLAKMPM8L5eKL/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":221359},"type":"module","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"gitHead":"2b7a6b7a0f3ff6f72c5de6211d2a32e98561171c","private":false,"scripts":{"dev":"vite","build":"vite build","check":"svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json","package":"svelte-kit sync && svelte-package","preview":"vite preview"},"_npmUser":{"name":"supunkavinda","email":"hi@supun.io"},"_npmVersion":"10.9.0","description":"Rich Text Editor for Hyvor Blogs & Hyvor Posts","directories":{},"_nodeVersion":"23.3.0","dependencies":{"tldts":"^6.1.77","codemirror":"^5.0.0","prosemirror-view":"^1.32.7","@sveltejs/package":"^2.4.0","prosemirror-model":"^1.19.4","prosemirror-state":"^1.4.3","prosemirror-tables":"^1.3.5","prosemirror-history":"^1.3.2","prosemirror-codemark":"^0.4.2","prosemirror-commands":"^1.5.2","prosemirror-gapcursor":"^1.3.2","prosemirror-dropcursor":"^1.8.1","prosemirror-inputrules":"^1.3.0","prosemirror-schema-list":"^1.3.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.1.0","typescript":"~5.7.2","svelte-check":"^4.1.4","@tsconfig/svelte":"^5.0.4","@sveltejs/vite-plugin-svelte":"^5.0.3"},"peerDependencies":{"svelte":">=5","@hyvor/icons":"^1.1.0","@hyvor/design":"^1.1.8"},"_npmOperationalInternal":{"tmp":"tmp/richtext_0.0.5_1753132716465_0.5821024266724337","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@hyvor/richtext","version":"0.0.6","license":"MIT","_id":"@hyvor/richtext@0.0.6","maintainers":[{"name":"supunkavinda","email":"hi@supun.io"}],"dist":{"shasum":"985f02546ee7d9e1456af941f15fc9b303ffff0a","tarball":"https://registry.npmjs.org/@hyvor/richtext/-/richtext-0.0.6.tgz","fileCount":129,"integrity":"sha512-rmaHJ8P4pvbdboDfk7tEpJ41y+xEnEZI3C//NKHqY1LNLzYobF3AehCYpgnQtIh6sccEqE5Gv0DX8qB9/TBPmQ==","signatures":[{"sig":"MEUCIQCRQYEQvF9jBcn3s8vO+suDeTjgX3eaYf3RXI1hHL0siAIgXPZzSQmCRBFnyqw5PBcSoz0eI+dWKWdANx19iqUL17o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":205404},"type":"module","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"gitHead":"2b7a6b7a0f3ff6f72c5de6211d2a32e98561171c","private":false,"scripts":{"dev":"vite","build":"vite build","check":"svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json","package":"svelte-kit sync && svelte-package","preview":"vite preview"},"_npmUser":{"name":"supunkavinda","email":"hi@supun.io"},"_npmVersion":"10.9.0","description":"Rich Text Editor for Hyvor Blogs & Hyvor Posts","directories":{},"_nodeVersion":"23.3.0","dependencies":{"tldts":"^6.1.77","codemirror":"^5.0.0","prosemirror-view":"^1.32.7","@sveltejs/package":"^2.4.0","prosemirror-model":"^1.19.4","prosemirror-state":"^1.4.3","prosemirror-tables":"^1.3.5","prosemirror-history":"^1.3.2","prosemirror-codemark":"^0.4.2","prosemirror-commands":"^1.5.2","prosemirror-gapcursor":"^1.3.2","prosemirror-dropcursor":"^1.8.1","prosemirror-inputrules":"^1.3.0","prosemirror-schema-list":"^1.3.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.1.0","typescript":"~5.7.2","svelte-check":"^4.1.4","@tsconfig/svelte":"^5.0.4","@sveltejs/vite-plugin-svelte":"^5.0.3"},"peerDependencies":{"svelte":">=5","@hyvor/icons":"^1.1.0","@hyvor/design":"^1.1.8"},"_npmOperationalInternal":{"tmp":"tmp/richtext_0.0.6_1753133550138_0.7268025785302026","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@hyvor/richtext","version":"0.0.7","license":"MIT","_id":"@hyvor/richtext@0.0.7","maintainers":[{"name":"supunkavinda","email":"hi@supun.io"}],"dist":{"shasum":"5bf4baf9eeb2798a15f1ccb570177ebbc2d89aff","tarball":"https://registry.npmjs.org/@hyvor/richtext/-/richtext-0.0.7.tgz","fileCount":141,"integrity":"sha512-Idv6ABrAVkVa5Ggm/HfW8wIbjQKVqtHa5DePzRWuMG72LrkcCDBUQ+iGCsJ0USN92ePxyO6A4/rlH4EwsWmqjg==","signatures":[{"sig":"MEUCIBEJkGwTsxuEKWlw/VkKHhKpKA6L4Ia2Cg9xLpdjrll1AiEAxUr9sbZvfubtj1rYsqedtqX4F7VbomTjAd7L2Zsgvj0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":218173},"type":"module","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"gitHead":"4ed8aa8879ecff97a4c6ef840263b44b03a4dbd0","private":false,"scripts":{"dev":"vite","build":"vite build","check":"svelte-check --tsconfig ./tsconfig.json && tsc -p tsconfig.json","package":"svelte-kit sync && svelte-package","prepare":"svelte-kit sync","preview":"vite preview"},"_npmUser":{"name":"supunkavinda","email":"hi@supun.io"},"_npmVersion":"11.6.0","description":"Rich Text Editor for Hyvor Blogs & Hyvor Posts","directories":{},"_nodeVersion":"24.8.0","dependencies":{"tldts":"^6.1.77","codemirror":"^5.0.0","prosemirror-view":"^1.32.7","@sveltejs/package":"^2.4.0","prosemirror-model":"^1.19.4","prosemirror-state":"^1.4.3","prosemirror-tables":"^1.3.5","prosemirror-history":"^1.3.2","prosemirror-codemark":"^0.4.2","prosemirror-commands":"^1.5.2","prosemirror-gapcursor":"^1.3.2","prosemirror-dropcursor":"^1.8.1","prosemirror-inputrules":"^1.3.0","prosemirror-schema-list":"^1.3.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.1.0","typescript":"~5.7.2","svelte-check":"^4.1.4","@tsconfig/svelte":"^5.0.4","@sveltejs/vite-plugin-svelte":"^5.0.3"},"peerDependencies":{"svelte":">=5","@hyvor/icons":"^1.1.0","@hyvor/design":"^1.1.18"},"_npmOperationalInternal":{"tmp":"tmp/richtext_0.0.7_1758260561232_0.739795768838009","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"name":"@hyvor/richtext","version":"0.0.8","license":"MIT","_id":"@hyvor/richtext@0.0.8","maintainers":[{"name":"supunkavinda","email":"hi@supun.io"}],"dist":{"shasum":"27e636add575dd34a92124628e161023a10a6733","tarball":"https://registry.npmjs.org/@hyvor/richtext/-/richtext-0.0.8.tgz","fileCount":141,"integrity":"sha512-ArigsVmtk8EwdwNiR5ijeMDl+IL9h8JhDQk3K/N1n9gK2s/6C1bN6KGwyNgYG1CWSDrTbaWL6NTrnrdoqCJ1nQ==","signatures":[{"sig":"MEUCIHBZBLdHV7aZ8YwKp3KBsQiUv/tmlRpXa4vOlmPV9G2SAiEA6kpCbJEj5fCHbFp2i64TkBGvSrL1uAWTlzKMV+PXuEc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":220697},"type":"module","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"gitHead":"77f97763ac873661a10d771a6e6213bd9b967a38","private":false,"scripts":{"dev":"vite","build":"vite build","check":"svelte-check --tsconfig ./tsconfig.json && tsc -p tsconfig.json","package":"svelte-kit sync && svelte-package","prepare":"svelte-kit sync","preview":"vite preview"},"_npmUser":{"name":"supunkavinda","email":"hi@supun.io"},"_npmVersion":"11.6.0","description":"Rich Text Editor for Hyvor Blogs & Hyvor Posts","directories":{},"_nodeVersion":"24.9.0","dependencies":{"tldts":"^6.1.77","codemirror":"^5.0.0","prosemirror-view":"^1.32.7","@sveltejs/package":"^2.4.0","prosemirror-model":"^1.19.4","prosemirror-state":"^1.4.3","prosemirror-tables":"^1.3.5","prosemirror-history":"^1.3.2","prosemirror-codemark":"^0.4.2","prosemirror-commands":"^1.5.2","prosemirror-gapcursor":"^1.3.2","prosemirror-dropcursor":"^1.8.1","prosemirror-inputrules":"^1.3.0","prosemirror-schema-list":"^1.3.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.1.0","typescript":"~5.7.2","svelte-check":"^4.1.4","@tsconfig/svelte":"^5.0.4","@sveltejs/vite-plugin-svelte":"^5.0.3"},"peerDependencies":{"svelte":">=5","@hyvor/icons":"^1.1.0","@hyvor/design":"^1.1.19"},"_npmOperationalInternal":{"tmp":"tmp/richtext_0.0.8_1759138673667_0.5637860638910566","host":"s3://npm-registry-packages-npm-production"}},"0.0.9":{"name":"@hyvor/richtext","version":"0.0.9","license":"MIT","_id":"@hyvor/richtext@0.0.9","maintainers":[{"name":"supunkavinda","email":"hi@supun.io"}],"dist":{"shasum":"bea3f5200e6026dc4f3f838b754590bfb6df106b","tarball":"https://registry.npmjs.org/@hyvor/richtext/-/richtext-0.0.9.tgz","fileCount":141,"integrity":"sha512-uCv8xyW/bUmz1djUzBP0Z38Zrl6NYdqOjKLLQ+CfCP2NRalsbcdvATia+bKxo52IVFvjWvNpON6OYpregnxStg==","signatures":[{"sig":"MEYCIQDD8G9y83XNyNtMPcn816Nt13/D0RoDAtcL0dT8/4k3xwIhAN/kolmujlFy6c9Uki0n9tdkfhg727X7xM4ePNQ4cFPH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":220676},"type":"module","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"gitHead":"04bea367350952fe2a227fe62bd32ce607166421","private":false,"scripts":{"dev":"vite","build":"vite build","check":"svelte-check --tsconfig ./tsconfig.json && tsc -p tsconfig.json","package":"svelte-kit sync && svelte-package","prepare":"svelte-kit sync","preview":"vite preview"},"_npmUser":{"name":"supunkavinda","email":"hi@supun.io"},"_npmVersion":"11.6.0","description":"Rich Text Editor for Hyvor Blogs & Hyvor Posts","directories":{},"_nodeVersion":"24.9.0","dependencies":{"tldts":"^6.1.77","codemirror":"^5.0.0","prosemirror-view":"^1.32.7","@sveltejs/package":"^2.4.0","prosemirror-model":"^1.19.4","prosemirror-state":"^1.4.3","prosemirror-tables":"^1.3.5","prosemirror-history":"^1.3.2","prosemirror-codemark":"^0.4.2","prosemirror-commands":"^1.5.2","prosemirror-gapcursor":"^1.3.2","prosemirror-dropcursor":"^1.8.1","prosemirror-inputrules":"^1.3.0","prosemirror-schema-list":"^1.3.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.1.0","typescript":"~5.7.2","svelte-check":"^4.1.4","@tsconfig/svelte":"^5.0.4","@sveltejs/vite-plugin-svelte":"^5.0.3"},"peerDependencies":{"svelte":">=5","@hyvor/icons":"^1.1.0","@hyvor/design":"^1.1.19"},"_npmOperationalInternal":{"tmp":"tmp/richtext_0.0.9_1759149925390_0.05083053578976915","host":"s3://npm-registry-packages-npm-production"}},"0.0.10":{"name":"@hyvor/richtext","version":"0.0.10","license":"MIT","_id":"@hyvor/richtext@0.0.10","maintainers":[{"name":"supunkavinda","email":"hi@supun.io"}],"dist":{"shasum":"a195f43d7e3207d16e26faaf812739c01cd05d65","tarball":"https://registry.npmjs.org/@hyvor/richtext/-/richtext-0.0.10.tgz","fileCount":141,"integrity":"sha512-yZ2WGs21Xa1W8V+yRciWqpBl9L68/gXR/kriqCXv6Awk+aoKrdlypV0JSlsOOJTwZh8Fit/8OED3+GSul7NUCQ==","signatures":[{"sig":"MEQCICh0t5BpS9/FYL3gdpqm1XpIhZSzzPfazVl5sLkUKHZ2AiAh6ihXXMDYYa2ZnnR/HK9Td8tWwcfeRDwslH4y5qDSeg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":220776},"type":"module","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"gitHead":"c3d3160537951c88695e364aaff1de308f65adea","private":false,"scripts":{"dev":"vite","build":"vite build","check":"svelte-check --tsconfig ./tsconfig.json && tsc -p tsconfig.json","package":"svelte-kit sync && svelte-package","prepare":"svelte-kit sync","preview":"vite preview"},"_npmUser":{"name":"supunkavinda","email":"hi@supun.io"},"_npmVersion":"11.6.0","description":"Rich Text Editor for Hyvor Blogs & Hyvor Posts","directories":{},"_nodeVersion":"24.9.0","dependencies":{"tldts":"^6.1.77","codemirror":"^5.0.0","prosemirror-view":"^1.32.7","@sveltejs/package":"^2.4.0","prosemirror-model":"^1.19.4","prosemirror-state":"^1.4.3","prosemirror-tables":"^1.3.5","prosemirror-history":"^1.3.2","prosemirror-codemark":"^0.4.2","prosemirror-commands":"^1.5.2","prosemirror-gapcursor":"^1.3.2","prosemirror-dropcursor":"^1.8.1","prosemirror-inputrules":"^1.3.0","prosemirror-schema-list":"^1.3.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.1.0","typescript":"~5.7.2","svelte-check":"^4.1.4","@tsconfig/svelte":"^5.0.4","@sveltejs/vite-plugin-svelte":"^5.0.3"},"peerDependencies":{"svelte":">=5","@hyvor/icons":"^1.1.0","@hyvor/design":"^1.1.19"},"_npmOperationalInternal":{"tmp":"tmp/richtext_0.0.10_1759917863120_0.5194956875362937","host":"s3://npm-registry-packages-npm-production"}},"0.0.11":{"name":"@hyvor/richtext","version":"0.0.11","license":"MIT","_id":"@hyvor/richtext@0.0.11","maintainers":[{"name":"supunkavinda","email":"hi@supun.io"}],"dist":{"shasum":"5d8638edc1bfb3bd53effc10f6ec34c1826a9465","tarball":"https://registry.npmjs.org/@hyvor/richtext/-/richtext-0.0.11.tgz","fileCount":141,"integrity":"sha512-qRc3vvV4WkJpV7ZqBxAe7knfuix7vaYAruxXHDK+hBEG2AXQ7GuIPk4/TO8Hxtba9fb3/w9IrdjYy0CeD5Ki3g==","signatures":[{"sig":"MEUCIQDEIAFuvGa2KdBz2QC3DfMY8iA8RV1P7SydxVaJKNUEHAIgFqZpKOiu4FM7Fkri7yBJ1zc4dU+V98JC3nJLbDkVKF0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":222593},"type":"module","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"gitHead":"9e3ebec648315674ebfab127f3eba11ccae9f38e","private":false,"scripts":{"dev":"vite","build":"vite build","check":"svelte-check --tsconfig ./tsconfig.json && tsc -p tsconfig.json","package":"svelte-kit sync && svelte-package","prepare":"svelte-kit sync","preview":"vite preview"},"_npmUser":{"name":"supunkavinda","email":"hi@supun.io"},"_npmVersion":"11.6.0","description":"Rich Text Editor for Hyvor Blogs & Hyvor Posts","directories":{},"_nodeVersion":"24.9.0","dependencies":{"tldts":"^6.1.77","codemirror":"^5.0.0","prosemirror-view":"^1.32.7","@sveltejs/package":"^2.4.0","prosemirror-model":"^1.19.4","prosemirror-state":"^1.4.3","prosemirror-tables":"^1.3.5","prosemirror-history":"^1.3.2","prosemirror-codemark":"^0.4.2","prosemirror-commands":"^1.5.2","prosemirror-gapcursor":"^1.3.2","prosemirror-dropcursor":"^1.8.1","prosemirror-inputrules":"^1.3.0","prosemirror-schema-list":"^1.3.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.1.0","typescript":"~5.7.2","svelte-check":"^4.1.4","@tsconfig/svelte":"^5.0.4","@sveltejs/vite-plugin-svelte":"^5.0.3"},"peerDependencies":{"svelte":">=5","@hyvor/icons":"^1.1.0","@hyvor/design":"^1.1.19"},"_npmOperationalInternal":{"tmp":"tmp/richtext_0.0.11_1760002304229_0.471541095102711","host":"s3://npm-registry-packages-npm-production"}},"0.0.14":{"name":"@hyvor/richtext","version":"0.0.14","license":"MIT","_id":"@hyvor/richtext@0.0.14","maintainers":[{"name":"supunkavinda","email":"hi@supun.io"}],"homepage":"https://github.com/hyvor/richtext#readme","bugs":{"url":"https://github.com/hyvor/richtext/issues"},"dist":{"shasum":"6eb22e7c6f8dc2661d06a0fd8fa0b57b037c542b","tarball":"https://registry.npmjs.org/@hyvor/richtext/-/richtext-0.0.14.tgz","fileCount":141,"integrity":"sha512-AoKsNDDy9hHqs7gUOcXhHrA7KDF0akijqd0zxhD0VeSfAjP/0ZaCeT1PK3zwVA+SChGUZQUy6Qxw8NNuHqXHkw==","signatures":[{"sig":"MEYCIQCst8ejr4lWvS58LLjEJHbiFDWYhubljeqdvOPlQz+bJwIhAOEb34+1M1RCdO9xR8gDmwq541Z4+AnmRyLTDAqI2mAB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hyvor%2frichtext@0.0.14","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":222732},"type":"module","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"gitHead":"6e68ca287fe593f0e93c734c4ee37af565cd930f","private":false,"scripts":{"dev":"vite","build":"vite build","check":"svelte-check --tsconfig ./tsconfig.json && tsc -p tsconfig.json","package":"svelte-kit sync && svelte-package","prepare":"svelte-kit sync","preview":"vite preview"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ede90c45-c8ea-4f53-9426-c6151c34c56f"}},"repository":{"url":"git+https://github.com/hyvor/richtext.git"},"_npmVersion":"11.6.2","description":"Rich Text Editor for Hyvor Blogs & Hyvor Posts","directories":{},"_nodeVersion":"24.13.0","dependencies":{"tldts":"^6.1.77","codemirror":"^5.0.0","prosemirror-view":"^1.32.7","@sveltejs/package":"^2.4.0","prosemirror-model":"^1.19.4","prosemirror-state":"^1.4.3","prosemirror-tables":"^1.3.5","prosemirror-history":"^1.3.2","prosemirror-codemark":"^0.4.2","prosemirror-commands":"^1.5.2","prosemirror-gapcursor":"^1.3.2","prosemirror-dropcursor":"^1.8.1","prosemirror-inputrules":"^1.3.0","prosemirror-schema-list":"^1.3.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.1.0","typescript":"~5.7.2","svelte-check":"^4.1.4","@tsconfig/svelte":"^5.0.4","@sveltejs/vite-plugin-svelte":"^5.0.3"},"peerDependencies":{"svelte":">=5","@hyvor/icons":"^1.1.0","@hyvor/design":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/richtext_0.0.14_1770261214723_0.450324344745362","host":"s3://npm-registry-packages-npm-production"}},"0.0.15":{"name":"@hyvor/richtext","version":"0.0.15","license":"MIT","_id":"@hyvor/richtext@0.0.15","maintainers":[{"name":"supunkavinda","email":"hi@supun.io"}],"homepage":"https://github.com/hyvor/richtext#readme","bugs":{"url":"https://github.com/hyvor/richtext/issues"},"dist":{"shasum":"02799bac3567ec33e432726a90d6981715a1d66d","tarball":"https://registry.npmjs.org/@hyvor/richtext/-/richtext-0.0.15.tgz","fileCount":141,"integrity":"sha512-U2Sad4dgU90F7HmlQOol29huD0KheAosY0LlVfQzNVKU9z0FfKNrSsEjjfvHkno4RmbeZsd3Gb80V1Q2ZTsw5g==","signatures":[{"sig":"MEUCIDQ3H1XDV8sFW1smk+Zx2kgSsw9q29MqVz2nHqSDUMRRAiEAukKq1pTtC3E6NM/8KFd/NzmsMVQUcKP1Sss0uwD/afM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hyvor%2frichtext@0.0.15","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":222927},"type":"module","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"gitHead":"8a2ff191009b621ead2a01e031a66fb78171a252","private":false,"scripts":{"dev":"vite","build":"vite build","check":"svelte-check --tsconfig ./tsconfig.json && tsc -p tsconfig.json","package":"svelte-kit sync && svelte-package","prepare":"svelte-kit sync","preview":"vite preview"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ede90c45-c8ea-4f53-9426-c6151c34c56f"}},"repository":{"url":"git+https://github.com/hyvor/richtext.git"},"_npmVersion":"11.16.0","description":"Rich Text Editor for Hyvor Blogs & Hyvor Posts","directories":{},"_nodeVersion":"24.18.0","dependencies":{"tldts":"^6.1.77","codemirror":"^5.0.0","prosemirror-view":"^1.32.7","@sveltejs/package":"^2.4.0","prosemirror-model":"^1.19.4","prosemirror-state":"^1.4.3","prosemirror-tables":"^1.3.5","prosemirror-history":"^1.3.2","prosemirror-codemark":"^0.4.2","prosemirror-commands":"^1.5.2","prosemirror-gapcursor":"^1.3.2","prosemirror-dropcursor":"^1.8.1","prosemirror-inputrules":"^1.3.0","prosemirror-schema-list":"^1.3.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.1.0","typescript":"~5.7.2","svelte-check":"^4.1.4","@tsconfig/svelte":"^5.0.4","@sveltejs/vite-plugin-svelte":"^5.0.3"},"peerDependencies":{"svelte":">=5","@hyvor/icons":"^1.1.0","@hyvor/design":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/richtext_0.0.15_1785833067470_0.08451486318182666","host":"s3://npm-registry-packages-npm-production"}},"0.0.16":{"name":"@hyvor/richtext","version":"0.0.16","license":"MIT","_id":"@hyvor/richtext@0.0.16","maintainers":[{"name":"supunkavinda","email":"hi@supun.io"}],"homepage":"https://github.com/hyvor/richtext#readme","bugs":{"url":"https://github.com/hyvor/richtext/issues"},"dist":{"shasum":"453b7dd7c1ad3d21c7682a5a5ac3c9e9fe15a8e8","tarball":"https://registry.npmjs.org/@hyvor/richtext/-/richtext-0.0.16.tgz","fileCount":141,"integrity":"sha512-Tq5AuBswqaRsCXU216i9nzN48dvecDSDSN8/G/zUZ+2Zi0x+rtnFMqxNWu0F21a4oIwrYOiSi1QorZ7vUMUfhA==","signatures":[{"sig":"MEUCIQC+Js7CXPYYv3UwFskb1P2pb+Wvb3jOleFnY9heIwhoyQIgM9BA6wWWAtGMX4rBmGFEQiB6sWAUdEnlXOiwZ9R7N84=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hyvor%2frichtext@0.0.16","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":224580},"type":"module","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"gitHead":"cc1bb11ac8e8af59d3a36d9b31c0af8177547080","private":false,"scripts":{"dev":"vite","build":"vite build","check":"svelte-check --tsconfig ./tsconfig.json && tsc -p tsconfig.json","package":"svelte-kit sync && svelte-package","prepare":"svelte-kit sync","preview":"vite preview"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ede90c45-c8ea-4f53-9426-c6151c34c56f"}},"repository":{"url":"git+https://github.com/hyvor/richtext.git"},"_npmVersion":"11.16.0","description":"Rich Text Editor for Hyvor Blogs & Hyvor Posts","directories":{},"_nodeVersion":"24.18.0","dependencies":{"tldts":"^6.1.77","codemirror":"^5.0.0","prosemirror-view":"^1.32.7","@sveltejs/package":"^2.4.0","prosemirror-model":"^1.19.4","prosemirror-state":"^1.4.3","prosemirror-tables":"^1.3.5","prosemirror-history":"^1.3.2","prosemirror-codemark":"^0.4.2","prosemirror-commands":"^1.5.2","prosemirror-gapcursor":"^1.3.2","prosemirror-dropcursor":"^1.8.1","prosemirror-inputrules":"^1.3.0","prosemirror-schema-list":"^1.3.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.1.0","typescript":"~5.7.2","svelte-check":"^4.1.4","@tsconfig/svelte":"^5.0.4","@sveltejs/vite-plugin-svelte":"^5.0.3"},"peerDependencies":{"svelte":">=5","@hyvor/icons":"^1.1.0","@hyvor/design":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/richtext_0.0.16_1785839426204_0.4560130753172489","host":"s3://npm-registry-packages-npm-production"}},"0.0.17-beta.diff.1":{"name":"@hyvor/richtext","version":"0.0.17-beta.diff.1","license":"MIT","_id":"@hyvor/richtext@0.0.17-beta.diff.1","maintainers":[{"name":"supunkavinda","email":"hi@supun.io"}],"homepage":"https://github.com/hyvor/richtext#readme","bugs":{"url":"https://github.com/hyvor/richtext/issues"},"dist":{"shasum":"0cb9cfc1f2035eb900245d98b0cba248fad2d872","tarball":"https://registry.npmjs.org/@hyvor/richtext/-/richtext-0.0.17-beta.diff.1.tgz","fileCount":155,"integrity":"sha512-miFGwOOErVY6y5qsYlLM7A32tC+dZ6HSiA7MbFyqyQkNJsnKCRoJta7LL1O3jNzQWb3CL1uzzh6qMOX2Y9Zs9g==","signatures":[{"sig":"MEUCIQC4Cr6X1kLq9dbutckVZkRooBAjq5mi+5+lFsOuCZul0wIgZCjidJ5uO/m83Q2HBKrfMbJDibla93pI6olapSXFrM0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hyvor%2frichtext@0.0.17-beta.diff.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":252459},"type":"module","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"gitHead":"6b79184a57c8b76ba32363ca6264c4fd53d63c79","private":false,"scripts":{"dev":"vite","build":"vite build","check":"svelte-check --tsconfig ./tsconfig.json && tsc -p tsconfig.json","package":"svelte-kit sync && svelte-package","prepare":"svelte-kit sync","preview":"vite preview"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ede90c45-c8ea-4f53-9426-c6151c34c56f"}},"repository":{"url":"git+https://github.com/hyvor/richtext.git"},"_npmVersion":"11.16.0","description":"Rich Text Editor for Hyvor Blogs & Hyvor Posts","directories":{},"_nodeVersion":"24.18.0","dependencies":{"tldts":"^6.1.77","codemirror":"^5.0.0","prosemirror-view":"^1.32.7","@sveltejs/package":"^2.4.0","prosemirror-model":"^1.19.4","prosemirror-state":"^1.4.3","prosemirror-tables":"^1.3.5","prosemirror-history":"^1.3.2","prosemirror-codemark":"^0.4.2","prosemirror-commands":"^1.5.2","prosemirror-gapcursor":"^1.3.2","prosemirror-dropcursor":"^1.8.1","prosemirror-inputrules":"^1.3.0","prosemirror-schema-list":"^1.3.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"vite":"^6.1.0","typescript":"~5.7.2","svelte-check":"^4.1.4","@tsconfig/svelte":"^5.0.4","@sveltejs/vite-plugin-svelte":"^5.0.3"},"peerDependencies":{"svelte":">=5","@hyvor/icons":"^1.1.0","@hyvor/design":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/richtext_0.0.17-beta.diff.1_1785969944473_0.12468409253503099","host":"s3://npm-registry-packages-npm-production"}},"0.0.17-beta.diff.2":{"name":"@hyvor/richtext","version":"0.0.17-beta.diff.2","license":"MIT","_id":"@hyvor/richtext@0.0.17-beta.diff.2","maintainers":[{"name":"supunkavinda","email":"hi@supun.io"}],"homepage":"https://github.com/hyvor/richtext#readme","bugs":{"url":"https://github.com/hyvor/richtext/issues"},"dist":{"shasum":"17a0f1e56eba839cbc60347aa28eda093b58cef2","tarball":"https://registry.npmjs.org/@hyvor/richtext/-/richtext-0.0.17-beta.diff.2.tgz","fileCount":155,"integrity":"sha512-9V4nHLL6497bgmqRR2KWSBH2nucR8TsbbD4ebwxBjOhiKldegVvsimCqlZqlSN8/6mLbWIG2KYkKoIgS4jTpTg==","signatures":[{"sig":"MEQCIDcboLornhwQnPQzbOc2v5xS9q0bRJxR8vTVvpshWKYPAiACQa2YLjqdzFQWEWY6QK/4+vMV77HM05Gn427NoYvGJw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hyvor%2frichtext@0.0.17-beta.diff.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":253089},"type":"module","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"gitHead":"14a6f141712e84a82ef00f805d46354be0c511a5","private":false,"scripts":{"dev":"vite","build":"vite build","check":"svelte-check --tsconfig ./tsconfig.json && tsc -p tsconfig.json","package":"svelte-kit sync && svelte-package","prepare":"svelte-kit sync","preview":"vite preview"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ede90c45-c8ea-4f53-9426-c6151c34c56f"}},"repository":{"url":"git+https://github.com/hyvor/richtext.git"},"_npmVersion":"11.16.0","description":"Rich Text Editor for Hyvor Blogs & Hyvor Posts","directories":{},"_nodeVersion":"24.18.0","dependencies":{"tldts":"^6.1.77","codemirror":"^5.0.0","prosemirror-view":"^1.32.7","@sveltejs/package":"^2.4.0","prosemirror-model":"^1.19.4","prosemirror-state":"^1.4.3","prosemirror-tables":"^1.3.5","prosemirror-history":"^1.3.2","prosemirror-codemark":"^0.4.2","prosemirror-commands":"^1.5.2","prosemirror-gapcursor":"^1.3.2","prosemirror-dropcursor":"^1.8.1","prosemirror-inputrules":"^1.3.0","prosemirror-schema-list":"^1.3.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"vite":"^6.1.0","typescript":"~5.7.2","svelte-check":"^4.1.4","@tsconfig/svelte":"^5.0.4","@sveltejs/vite-plugin-svelte":"^5.0.3"},"peerDependencies":{"svelte":">=5","@hyvor/icons":"^1.1.0","@hyvor/design":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/richtext_0.0.17-beta.diff.2_1785972483931_0.3430459775026442","host":"s3://npm-registry-packages-npm-production"}},"0.0.17-beta.diff.3":{"name":"@hyvor/richtext","version":"0.0.17-beta.diff.3","license":"MIT","_id":"@hyvor/richtext@0.0.17-beta.diff.3","maintainers":[{"name":"supunkavinda","email":"hi@supun.io"}],"homepage":"https://github.com/hyvor/richtext#readme","bugs":{"url":"https://github.com/hyvor/richtext/issues"},"dist":{"shasum":"a32c1c9c00d0a8ad286bea66e5ceef8a798ee818","tarball":"https://registry.npmjs.org/@hyvor/richtext/-/richtext-0.0.17-beta.diff.3.tgz","fileCount":167,"integrity":"sha512-IR8umLqRiZC0b4XaNNZh5ELrHFibFkpzl69ABvz4xOq6PFZgM05Q/Os7IQw4MW43+zkLOLomjVeRIO8wahXDkQ==","signatures":[{"sig":"MEQCIHOmi57TI85t44XhRiixK6fWSkb+TL+xKxyfTd3Kx7w/AiB1o2yQfT2DqB61MlIOMZdVcrLTkjcBM/l1BK0RGA8yVg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hyvor%2frichtext@0.0.17-beta.diff.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":359446},"type":"module","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"gitHead":"bbe24b25f507136969b17a29221455f599c22fd7","private":false,"scripts":{"dev":"vite","build":"vite build","check":"svelte-check --tsconfig ./tsconfig.json && tsc -p tsconfig.json","package":"svelte-kit sync && svelte-package","prepare":"svelte-kit sync","preview":"vite preview"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ede90c45-c8ea-4f53-9426-c6151c34c56f"}},"repository":{"url":"git+https://github.com/hyvor/richtext.git"},"_npmVersion":"11.17.0","description":"Rich Text Editor for Hyvor Blogs & Hyvor Posts","directories":{},"_nodeVersion":"24.19.0","dependencies":{"tldts":"^6.1.77","codemirror":"^5.0.0","prosemirror-view":"^1.32.7","@sveltejs/package":"^2.4.0","prosemirror-model":"^1.19.4","prosemirror-state":"^1.4.3","prosemirror-tables":"^1.3.5","prosemirror-history":"^1.3.2","prosemirror-codemark":"^0.4.2","prosemirror-commands":"^1.5.2","prosemirror-gapcursor":"^1.3.2","prosemirror-dropcursor":"^1.8.1","prosemirror-inputrules":"^1.3.0","prosemirror-schema-list":"^1.3.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"vite":"^6.1.0","typescript":"~5.7.2","svelte-check":"^4.1.4","@tsconfig/svelte":"^5.0.4","@sveltejs/vite-plugin-svelte":"^5.0.3"},"peerDependencies":{"svelte":">=5","@hyvor/icons":"^1.1.0","@hyvor/design":"^2.1.4"},"_npmOperationalInternal":{"tmp":"tmp/richtext_0.0.17-beta.diff.3_1786885890644_0.9465871091301139","host":"s3://npm-registry-packages-npm-production"}},"0.0.17-beta.diff.4":{"name":"@hyvor/richtext","version":"0.0.17-beta.diff.4","license":"MIT","_id":"@hyvor/richtext@0.0.17-beta.diff.4","maintainers":[{"name":"supunkavinda","email":"hi@supun.io"}],"homepage":"https://github.com/hyvor/richtext#readme","bugs":{"url":"https://github.com/hyvor/richtext/issues"},"dist":{"shasum":"894967267b56d98499113f589373951abaf5f5a2","tarball":"https://registry.npmjs.org/@hyvor/richtext/-/richtext-0.0.17-beta.diff.4.tgz","fileCount":167,"integrity":"sha512-IB7CvcDL0wcgaJjsX38ZGUlviDlff45MSbFMjqzB9zjp/O3JNNnRScEE+KeGFFvP7Jb0pC4l+jp8eMFNRT7LnA==","signatures":[{"sig":"MEYCIQD1TGqoEo87wEP0TClugHHmdh3hKyEl6WKfo/APqXct6AIhALqG+C/9DTegAF4q0O8BNEd9DTCY72NiK4Q7o4E/2zTN","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hyvor%2frichtext@0.0.17-beta.diff.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":364028},"type":"module","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"gitHead":"badb77f6a4d9dac45b5c004d09b5e70c5595e656","private":false,"scripts":{"dev":"vite","build":"vite build","check":"svelte-check --tsconfig ./tsconfig.json && tsc -p tsconfig.json","package":"svelte-kit sync && svelte-package","prepare":"svelte-kit sync","preview":"vite preview"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ede90c45-c8ea-4f53-9426-c6151c34c56f"}},"repository":{"url":"git+https://github.com/hyvor/richtext.git"},"_npmVersion":"11.17.0","description":"Rich Text Editor for Hyvor Blogs & Hyvor Posts","directories":{},"_nodeVersion":"24.19.0","dependencies":{"tldts":"^6.1.77","codemirror":"^5.0.0","prosemirror-view":"^1.32.7","@sveltejs/package":"^2.4.0","prosemirror-model":"^1.19.4","prosemirror-state":"^1.4.3","prosemirror-tables":"^1.3.5","prosemirror-history":"^1.3.2","prosemirror-codemark":"^0.4.2","prosemirror-commands":"^1.5.2","prosemirror-gapcursor":"^1.3.2","prosemirror-dropcursor":"^1.8.1","prosemirror-inputrules":"^1.3.0","prosemirror-schema-list":"^1.3.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"vite":"^6.1.0","typescript":"~5.7.2","svelte-check":"^4.1.4","@tsconfig/svelte":"^5.0.4","@sveltejs/vite-plugin-svelte":"^5.0.3"},"peerDependencies":{"svelte":">=5","@hyvor/icons":"^1.1.0","@hyvor/design":"^2.1.4"},"_npmOperationalInternal":{"tmp":"tmp/richtext_0.0.17-beta.diff.4_1786929172609_0.06387102046872495","host":"s3://npm-registry-packages-npm-production"}},"0.0.17-beta.diff.5":{"name":"@hyvor/richtext","version":"0.0.17-beta.diff.5","license":"MIT","_id":"@hyvor/richtext@0.0.17-beta.diff.5","maintainers":[{"name":"supunkavinda","email":"hi@supun.io"}],"homepage":"https://github.com/hyvor/richtext#readme","bugs":{"url":"https://github.com/hyvor/richtext/issues"},"dist":{"shasum":"718ae485cef9c01f8242345003b553d68ef2c341","tarball":"https://registry.npmjs.org/@hyvor/richtext/-/richtext-0.0.17-beta.diff.5.tgz","fileCount":169,"integrity":"sha512-USBbyqflk54vURPm2C6TxJHFaKoEo9xvUBIIHxgnTkli/8lPuQ6efBFcQHaV91idp8EL0tgwpCYkgSBBydt7bQ==","signatures":[{"sig":"MEUCIQD6TgJls4UypLpNt+iSWUUAz+iCZ616ODWGN0Omsbh2SgIgNE4x9TxEyRCRLS3DBYxAxm/16FwRTNujhEfwBrkhOmE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hyvor%2frichtext@0.0.17-beta.diff.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":374168},"type":"module","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"gitHead":"60ae1a0682be862e3c1fa27c97c826694c796220","private":false,"scripts":{"dev":"vite","build":"vite build","check":"svelte-check --tsconfig ./tsconfig.json && tsc -p tsconfig.json","package":"svelte-kit sync && svelte-package","prepare":"svelte-kit sync","preview":"vite preview"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ede90c45-c8ea-4f53-9426-c6151c34c56f"}},"repository":{"url":"git+https://github.com/hyvor/richtext.git"},"_npmVersion":"11.17.0","description":"Rich Text Editor for Hyvor Blogs & Hyvor Posts","directories":{},"_nodeVersion":"24.19.0","dependencies":{"tldts":"^6.1.77","codemirror":"^5.0.0","prosemirror-view":"^1.32.7","@sveltejs/package":"^2.4.0","prosemirror-model":"^1.19.4","prosemirror-state":"^1.4.3","prosemirror-tables":"^1.3.5","prosemirror-history":"^1.3.2","prosemirror-commands":"^1.5.2","prosemirror-gapcursor":"^1.3.2","prosemirror-dropcursor":"^1.8.1","prosemirror-inputrules":"^1.3.0","prosemirror-schema-list":"^1.3.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"vite":"^6.1.0","typescript":"~5.7.2","svelte-check":"^4.1.4","@tsconfig/svelte":"^5.0.4","@sveltejs/vite-plugin-svelte":"^5.0.3"},"peerDependencies":{"svelte":">=5","@hyvor/icons":"^1.1.0","@hyvor/design":"^2.1.4"},"_npmOperationalInternal":{"tmp":"tmp/richtext_0.0.17-beta.diff.5_1786941853250_0.3749872895982138","host":"s3://npm-registry-packages-npm-production"}},"0.0.17-beta.collab.1":{"name":"@hyvor/richtext","version":"0.0.17-beta.collab.1","license":"MIT","_id":"@hyvor/richtext@0.0.17-beta.collab.1","maintainers":[{"name":"supunkavinda","email":"hi@supun.io"}],"homepage":"https://github.com/hyvor/richtext#readme","bugs":{"url":"https://github.com/hyvor/richtext/issues"},"dist":{"shasum":"3f684b383385c9135d0aa385a78d9b7b97b2d828","tarball":"https://registry.npmjs.org/@hyvor/richtext/-/richtext-0.0.17-beta.collab.1.tgz","fileCount":171,"integrity":"sha512-CbdHxnG2HYyK5BoF0LoCauOF07q1zYoHAjgdjVaXOAEbykRv+NbydB6wvriZzwXQKYW4YmyIV2X2XKfwvoTVFQ==","signatures":[{"sig":"MEUCICnNJCUwVpzpfZZ3wTTSqdXnvkDXiwWjlu5l9weWeHUjAiEA7wF99zqhV1MJMfgbX2eh3iEudjs9DxwG1TV0rvFRSv0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hyvor%2frichtext@0.0.17-beta.collab.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":381948},"type":"module","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"gitHead":"17a7dff71bb5fe129e2b292f245ee020429b8c77","private":false,"scripts":{"dev":"vite","build":"vite build","check":"svelte-check --tsconfig ./tsconfig.json && tsc -p tsconfig.json","package":"svelte-kit sync && svelte-package","prepare":"svelte-kit sync","preview":"vite preview","dev:collab-server":"node dev-server/collab-server.mjs"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ede90c45-c8ea-4f53-9426-c6151c34c56f"}},"repository":{"url":"git+https://github.com/hyvor/richtext.git"},"_npmVersion":"11.17.0","description":"Rich Text Editor for Hyvor Blogs & Hyvor Posts","directories":{},"_nodeVersion":"24.19.0","dependencies":{"tldts":"^6.1.77","codemirror":"^5.0.0","prosemirror-view":"^1.32.7","@sveltejs/package":"^2.4.0","prosemirror-model":"^1.19.4","prosemirror-state":"^1.4.3","prosemirror-collab":"^1.3.1","prosemirror-tables":"^1.3.5","prosemirror-history":"^1.3.2","prosemirror-commands":"^1.5.2","prosemirror-gapcursor":"^1.3.2","prosemirror-dropcursor":"^1.8.1","prosemirror-inputrules":"^1.3.0","prosemirror-schema-list":"^1.3.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ws":"^8.21.3","vite":"^6.1.0","typescript":"~5.7.2","svelte-check":"^4.1.4","@tsconfig/svelte":"^5.0.4","@sveltejs/vite-plugin-svelte":"^5.0.3"},"peerDependencies":{"svelte":">=5","@hyvor/icons":"^1.1.0","@hyvor/design":"^2.1.4"},"_npmOperationalInternal":{"tmp":"tmp/richtext_0.0.17-beta.collab.1_1786946501059_0.6603686673448121","host":"s3://npm-registry-packages-npm-production"}},"0.0.17-beta.diff.6":{"name":"@hyvor/richtext","version":"0.0.17-beta.diff.6","license":"MIT","_id":"@hyvor/richtext@0.0.17-beta.diff.6","maintainers":[{"name":"supunkavinda","email":"hi@supun.io"}],"homepage":"https://github.com/hyvor/richtext#readme","bugs":{"url":"https://github.com/hyvor/richtext/issues"},"dist":{"shasum":"c6139ab4dfeb98c9b5a1c48c6831879ed75ab1b2","tarball":"https://registry.npmjs.org/@hyvor/richtext/-/richtext-0.0.17-beta.diff.6.tgz","fileCount":173,"integrity":"sha512-Qv6avBGUHhuB2gG7RWOZNK9FgGP2S37Jue5ifSyZDaT4BcWRWUvSTW/QF3FHmaQYAlg1LFSGPdygPZMdba7s9w==","signatures":[{"sig":"MEUCIGaRJ60Z7JWX3jtAejZskMrPkNdZ1h5AiDF657RVQ3sjAiEA81oyLlk2TK7fgpXjKtJhG/PMf4uPK4c+YJubIUCZzro=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hyvor%2frichtext@0.0.17-beta.diff.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":390386},"type":"module","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"gitHead":"690d979e0c658f640aaf732007741f7367fcd670","private":false,"scripts":{"dev":"vite","build":"vite build","check":"svelte-check --tsconfig ./tsconfig.json && tsc -p tsconfig.json","package":"svelte-kit sync && svelte-package","prepare":"svelte-kit sync","preview":"vite preview","dev:collab-server":"node dev-server/collab-server.mjs"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ede90c45-c8ea-4f53-9426-c6151c34c56f"}},"repository":{"url":"git+https://github.com/hyvor/richtext.git"},"_npmVersion":"11.17.0","description":"Rich Text Editor for Hyvor Blogs & Hyvor Posts","directories":{},"_nodeVersion":"24.19.0","dependencies":{"tldts":"^6.1.77","codemirror":"^5.0.0","prosemirror-view":"^1.32.7","@sveltejs/package":"^2.4.0","prosemirror-model":"^1.19.4","prosemirror-state":"^1.4.3","prosemirror-collab":"^1.3.1","prosemirror-tables":"^1.3.5","prosemirror-history":"^1.3.2","prosemirror-commands":"^1.5.2","prosemirror-gapcursor":"^1.3.2","prosemirror-dropcursor":"^1.8.1","prosemirror-inputrules":"^1.3.0","prosemirror-schema-list":"^1.3.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ws":"^8.21.3","vite":"^6.1.0","typescript":"~5.7.2","svelte-check":"^4.1.4","@tsconfig/svelte":"^5.0.4","@sveltejs/vite-plugin-svelte":"^5.0.3"},"peerDependencies":{"svelte":">=5","@hyvor/icons":"^1.1.0","@hyvor/design":"^2.1.4"},"_npmOperationalInternal":{"tmp":"tmp/richtext_0.0.17-beta.diff.6_1787051977881_0.20732894214519693","host":"s3://npm-registry-packages-npm-production"}},"0.0.17":{"name":"@hyvor/richtext","version":"0.0.17","license":"MIT","_id":"@hyvor/richtext@0.0.17","maintainers":[{"name":"supunkavinda","email":"hi@supun.io"}],"homepage":"https://github.com/hyvor/richtext#readme","bugs":{"url":"https://github.com/hyvor/richtext/issues"},"dist":{"shasum":"2c836409226e1280b073474b1e03fd700fa14e46","tarball":"https://registry.npmjs.org/@hyvor/richtext/-/richtext-0.0.17.tgz","fileCount":173,"integrity":"sha512-7W5oIaaRrwD033CNNeTwOwx7kzMThcFCxRo/iTc1tVAWq4uqQocYa49uXWz/suN20x+L68zBxbk+b9RCy/wkQg==","signatures":[{"sig":"MEUCIQDPyEPQCkUJj3+0qxiUOd/cCedgqUnkBR79InVU8P47HwIgFLzV9OGJwQPy9bp0Mgd1k5dTQpr54zLmUFi2kUzUOBk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hyvor%2frichtext@0.0.17","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":389362},"type":"module","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"gitHead":"1455e60ebf371bcbc35035abba2c830ff70cdff9","private":false,"scripts":{"dev":"vite","build":"vite build","check":"svelte-check --tsconfig ./tsconfig.json && tsc -p tsconfig.json","package":"svelte-kit sync && svelte-package","prepare":"svelte-kit sync","preview":"vite preview","dev:collab-server":"node dev-server/collab-server.mjs"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ede90c45-c8ea-4f53-9426-c6151c34c56f"}},"repository":{"url":"git+https://github.com/hyvor/richtext.git"},"_npmVersion":"11.17.0","description":"Rich Text Editor for Hyvor Blogs & Hyvor Posts","directories":{},"_nodeVersion":"24.19.0","dependencies":{"tldts":"^6.1.77","codemirror":"^5.0.0","prosemirror-view":"^1.32.7","@sveltejs/package":"^2.4.0","prosemirror-model":"^1.19.4","prosemirror-state":"^1.4.3","prosemirror-collab":"^1.3.1","prosemirror-tables":"^1.3.5","prosemirror-history":"^1.3.2","prosemirror-commands":"^1.5.2","prosemirror-gapcursor":"^1.3.2","prosemirror-dropcursor":"^1.8.1","prosemirror-inputrules":"^1.3.0","prosemirror-schema-list":"^1.3.0"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.21.3","vite":"^6.1.0","typescript":"~5.7.2","svelte-check":"^4.1.4","@tsconfig/svelte":"^5.0.4","@sveltejs/vite-plugin-svelte":"^5.0.3"},"peerDependencies":{"svelte":">=5","@hyvor/icons":"^1.1.0","@hyvor/design":"^2.1.4"},"_npmOperationalInternal":{"tmp":"tmp/richtext_0.0.17_1787054358787_0.18766854300750646","host":"s3://npm-registry-packages-npm-production"}},"0.0.18":{"name":"@hyvor/richtext","version":"0.0.18","license":"MIT","_id":"@hyvor/richtext@0.0.18","maintainers":[{"name":"supunkavinda","email":"hi@supun.io"}],"homepage":"https://github.com/hyvor/richtext#readme","bugs":{"url":"https://github.com/hyvor/richtext/issues"},"dist":{"shasum":"d80dc6da7d3b286a31ac30de33fa3c474eac329a","tarball":"https://registry.npmjs.org/@hyvor/richtext/-/richtext-0.0.18.tgz","fileCount":173,"integrity":"sha512-f/aPf/a1bNNbT+tpNIi7sYSphd/2561RfaFSFiyPUjC47Foc92lgo5XRo3G+vW1WxLarJDMNCtTGQ+uFzMZY4A==","signatures":[{"sig":"MEUCIEZkoUYhx65YisV87OK9gHM4TUaMcK3OLdLwEwH3gKjOAiEAwTMSUmWou6czHPQqXzPjuuKwd9NivHSQRXdZLcZOKds=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hyvor%2frichtext@0.0.18","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":391032},"type":"module","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"gitHead":"6448c2bbe748c566eb2fe80c74716aed9d8e8f3b","private":false,"scripts":{"dev":"vite","build":"vite build","check":"svelte-check --tsconfig ./tsconfig.json && tsc -p tsconfig.json","package":"svelte-kit sync && svelte-package","prepare":"svelte-kit sync","preview":"vite preview","dev:collab-server":"node dev-server/collab-server.mjs"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ede90c45-c8ea-4f53-9426-c6151c34c56f"}},"repository":{"url":"git+https://github.com/hyvor/richtext.git"},"_npmVersion":"11.17.0","description":"Rich Text Editor for Hyvor Blogs & Hyvor Posts","directories":{},"_nodeVersion":"24.19.0","dependencies":{"tldts":"^6.1.77","codemirror":"^5.0.0","prosemirror-view":"^1.32.7","@sveltejs/package":"^2.4.0","prosemirror-model":"^1.19.4","prosemirror-state":"^1.4.3","prosemirror-collab":"^1.3.1","prosemirror-tables":"^1.3.5","prosemirror-history":"^1.3.2","prosemirror-commands":"^1.5.2","prosemirror-gapcursor":"^1.3.2","prosemirror-dropcursor":"^1.8.1","prosemirror-inputrules":"^1.3.0","prosemirror-schema-list":"^1.3.0"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.21.3","vite":"^6.1.0","typescript":"~5.7.2","svelte-check":"^4.1.4","@tsconfig/svelte":"^5.0.4","@sveltejs/vite-plugin-svelte":"^5.0.3"},"peerDependencies":{"svelte":">=5","@hyvor/icons":"^1.1.0","@hyvor/design":"^2.1.4"},"_npmOperationalInternal":{"tmp":"tmp/richtext_0.0.18_1787804232903_0.7678809220243861","host":"s3://npm-registry-packages-npm-production"}},"0.0.19":{"name":"@hyvor/richtext","version":"0.0.19","license":"MIT","_id":"@hyvor/richtext@0.0.19","maintainers":[{"name":"supunkavinda","email":"hi@supun.io"}],"homepage":"https://github.com/hyvor/richtext#readme","bugs":{"url":"https://github.com/hyvor/richtext/issues"},"dist":{"shasum":"3c057211d0a664c210240cf706f84e1d07b0773d","tarball":"https://registry.npmjs.org/@hyvor/richtext/-/richtext-0.0.19.tgz","fileCount":173,"integrity":"sha512-KV+j98vGj+mlIewgwSU8D7kF0fu6SwsfvWRxsHug+wdaNu4dJQJ/86ectSB/b+/h1Ka97ni9CzDgY1f4VtDfiA==","signatures":[{"sig":"MEYCIQCZuxQkY1tsuwqy5MO/Swnto+4xFt6q1QkNLkdkvmcGOgIhALZqzZG0qggQq6gmKfQZ495SU3D1Hg5JUOx6s8xzcVuW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hyvor%2frichtext@0.0.19","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":383316},"type":"module","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"gitHead":"8ccbf3ccf4af8c63337ff337689198a281ec9463","private":false,"scripts":{"dev":"vite","build":"vite build","check":"svelte-check --tsconfig ./tsconfig.json && tsc -p tsconfig.json","package":"svelte-kit sync && svelte-package","prepare":"svelte-kit sync","preview":"vite preview","dev:collab-server":"node dev-server/collab-server.mjs"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ede90c45-c8ea-4f53-9426-c6151c34c56f"}},"repository":{"url":"git+https://github.com/hyvor/richtext.git"},"_npmVersion":"11.17.0","description":"Rich Text Editor for Hyvor Blogs & Hyvor Posts","directories":{},"_nodeVersion":"24.19.0","dependencies":{"tldts":"^6.1.77","codemirror":"^5.0.0","prosemirror-view":"^1.32.7","@sveltejs/package":"^2.4.0","prosemirror-model":"^1.19.4","prosemirror-state":"^1.4.3","prosemirror-collab":"^1.3.1","prosemirror-tables":"^1.3.5","prosemirror-history":"^1.3.2","prosemirror-commands":"^1.5.2","prosemirror-gapcursor":"^1.3.2","prosemirror-dropcursor":"^1.8.1","prosemirror-inputrules":"^1.3.0","prosemirror-schema-list":"^1.3.0"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.21.3","vite":"^6.1.0","typescript":"~5.7.2","svelte-check":"^4.1.4","@tsconfig/svelte":"^5.0.4","@sveltejs/vite-plugin-svelte":"^5.0.3"},"peerDependencies":{"svelte":">=5","@hyvor/icons":"^1.1.0","@hyvor/design":"^2.1.4"},"_npmOperationalInternal":{"tmp":"tmp/richtext_0.0.19_1788184136196_0.5733596246314621","host":"s3://npm-registry-packages-npm-production"}},"0.0.20":{"name":"@hyvor/richtext","version":"0.0.20","license":"MIT","_id":"@hyvor/richtext@0.0.20","maintainers":[{"name":"supunkavinda","email":"hi@supun.io"}],"homepage":"https://github.com/hyvor/richtext#readme","bugs":{"url":"https://github.com/hyvor/richtext/issues"},"dist":{"shasum":"54412574255edc3698190d0eca3a9394b06d9725","tarball":"https://registry.npmjs.org/@hyvor/richtext/-/richtext-0.0.20.tgz","fileCount":175,"integrity":"sha512-ZkkWI0upRQMuLbQk+MVvAgK65zhqb3a94EJmCd1FDLgyFxB7xi/LaJkH2lY4cgLs12HEe2Ek2zB0X8iyV8KBew==","signatures":[{"sig":"MEUCIQDbtO8uQ1Zq8AHl7saE3Qu63KOq+8BvzVssps2Bul+RLQIgAzFyZM9DAPBJPUlf3zOokY0DLGoCJaQqTyl1INH1EIw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hyvor%2frichtext@0.0.20","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":396410},"type":"module","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"gitHead":"eacc1dc68ceff3314fd2b3ece5c320890204f83a","private":false,"scripts":{"dev":"vite","build":"vite build","check":"svelte-check --tsconfig ./tsconfig.json && tsc -p tsconfig.json","package":"svelte-kit sync && svelte-package","prepare":"svelte-kit sync","preview":"vite preview","dev:collab-server":"node dev-server/collab-server.mjs"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ede90c45-c8ea-4f53-9426-c6151c34c56f"}},"repository":{"url":"git+https://github.com/hyvor/richtext.git"},"_npmVersion":"11.17.0","description":"Rich Text Editor for Hyvor Blogs & Hyvor Posts","directories":{},"_nodeVersion":"24.19.0","dependencies":{"tldts":"^6.1.77","codemirror":"^5.0.0","prosemirror-view":"^1.32.7","@sveltejs/package":"^2.4.0","prosemirror-model":"^1.19.4","prosemirror-state":"^1.4.3","prosemirror-collab":"^1.3.1","prosemirror-tables":"^1.3.5","prosemirror-history":"^1.3.2","prosemirror-commands":"^1.5.2","prosemirror-gapcursor":"^1.3.2","prosemirror-dropcursor":"^1.8.1","prosemirror-inputrules":"^1.3.0","prosemirror-schema-list":"^1.3.0"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.21.3","vite":"^6.1.0","typescript":"~5.7.2","svelte-check":"^4.1.4","@tsconfig/svelte":"^5.0.4","@sveltejs/vite-plugin-svelte":"^5.0.3"},"peerDependencies":{"svelte":">=5","@hyvor/icons":"^1.1.0","@hyvor/design":"^2.1.4"},"_npmOperationalInternal":{"tmp":"tmp/richtext_0.0.20_1788430852122_0.41683360523510005","host":"s3://npm-registry-packages-npm-production"}},"0.0.21":{"name":"@hyvor/richtext","version":"0.0.21","license":"MIT","_id":"@hyvor/richtext@0.0.21","maintainers":[{"name":"supunkavinda","email":"hi@supun.io"}],"homepage":"https://github.com/hyvor/richtext#readme","bugs":{"url":"https://github.com/hyvor/richtext/issues"},"dist":{"shasum":"17d329d4dd4790adc14c03631d985f4f6a5ea89e","tarball":"https://registry.npmjs.org/@hyvor/richtext/-/richtext-0.0.21.tgz","fileCount":175,"integrity":"sha512-0ywGn1qUB8m0EfXJ2EXzsjM6zTvNSczEJUmAXisx5V3OoedcEiJ85INuBa6AZo8QY9yghsO6LJRb47b0zaMRIA==","signatures":[{"sig":"MEQCIGAclxPFPIl+WstDiRGOgmIN62p+ZEY/OE9mo24A5Z0pAiAynW1FE8z1m655YtqLMl/VVXGHbvlo2vhz6tU9hzD9Gw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hyvor%2frichtext@0.0.21","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":396500},"type":"module","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"gitHead":"a5535a5539712e01fd66f4c243c42124cbde6ec9","private":false,"scripts":{"dev":"vite","build":"vite build","check":"svelte-check --tsconfig ./tsconfig.json && tsc -p tsconfig.json","package":"svelte-kit sync && svelte-package","prepare":"svelte-kit sync","preview":"vite preview","dev:collab-server":"node dev-server/collab-server.mjs"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ede90c45-c8ea-4f53-9426-c6151c34c56f"}},"repository":{"url":"git+https://github.com/hyvor/richtext.git"},"_npmVersion":"11.19.0","description":"Rich Text Editor for Hyvor Blogs & Hyvor Posts","directories":{},"_nodeVersion":"24.20.0","dependencies":{"tldts":"^6.1.77","codemirror":"^5.0.0","prosemirror-view":"^1.32.7","@sveltejs/package":"^2.4.0","prosemirror-model":"^1.19.4","prosemirror-state":"^1.4.3","prosemirror-collab":"^1.3.1","prosemirror-tables":"^1.3.5","prosemirror-history":"^1.3.2","prosemirror-commands":"^1.5.2","prosemirror-gapcursor":"^1.3.2","prosemirror-dropcursor":"^1.8.1","prosemirror-inputrules":"^1.3.0","prosemirror-schema-list":"^1.3.0"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.21.3","vite":"^6.1.0","typescript":"~5.7.2","svelte-check":"^4.1.4","@tsconfig/svelte":"^5.0.4","@sveltejs/vite-plugin-svelte":"^5.0.3"},"peerDependencies":{"svelte":">=5","@hyvor/icons":"^1.1.0","@hyvor/design":"^2.1.4"},"_npmOperationalInternal":{"tmp":"tmp/richtext_0.0.21_1788493045658_0.06245447672132065","host":"s3://npm-registry-packages-npm-production"}},"0.0.22":{"name":"@hyvor/richtext","version":"0.0.22","license":"MIT","_id":"@hyvor/richtext@0.0.22","maintainers":[{"name":"supunkavinda","email":"hi@supun.io"},{"name":"nadil-k","email":"nadilkarunaratna2000@gmail.com"}],"homepage":"https://github.com/hyvor/richtext#readme","bugs":{"url":"https://github.com/hyvor/richtext/issues"},"dist":{"shasum":"ca9467bf3c417d1ebd19c2112e5942f823f4c15d","tarball":"https://registry.npmjs.org/@hyvor/richtext/-/richtext-0.0.22.tgz","fileCount":175,"integrity":"sha512-H+MDXi8jMxsZR7zpwdSkI1ANjOgEzn5VyVK1dvncqthE8cNtFRJpnh9oEmddewb3GT/w6uYW5yDyukzRwy9xFg==","signatures":[{"sig":"MEUCIGUkc3ZuzoPGQymmLmaAiNX32uCgiDSBIeN7CXwIsoe3AiEAzbR0z8DTca0gpkA2TOoRnRPKCLziR8ds8IC0zQpX0WU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hyvor%2frichtext@0.0.22","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":396512},"type":"module","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"gitHead":"d0f6d983c5c4deeead1d0f5b37163622f56ba4be","private":false,"scripts":{"dev":"vite","build":"vite build","check":"svelte-check --tsconfig ./tsconfig.json && tsc -p tsconfig.json","package":"svelte-kit sync && svelte-package","prepare":"svelte-kit sync","preview":"vite preview","dev:collab-server":"node dev-server/collab-server.mjs"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ede90c45-c8ea-4f53-9426-c6151c34c56f"}},"repository":{"url":"git+https://github.com/hyvor/richtext.git"},"_npmVersion":"11.19.0","description":"Rich Text Editor for Hyvor Blogs & Hyvor Posts","directories":{},"_nodeVersion":"24.20.0","dependencies":{"tldts":"^6.1.77","codemirror":"^5.0.0","prosemirror-view":"^1.32.7","@sveltejs/package":"^2.4.0","prosemirror-model":"^1.19.4","prosemirror-state":"^1.4.3","prosemirror-collab":"^1.3.1","prosemirror-tables":"^1.3.5","prosemirror-history":"^1.3.2","prosemirror-commands":"^1.5.2","prosemirror-gapcursor":"^1.3.2","prosemirror-dropcursor":"^1.8.1","prosemirror-inputrules":"^1.3.0","prosemirror-schema-list":"^1.3.0"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.21.3","vite":"^6.1.0","typescript":"~5.7.2","svelte-check":"^4.1.4","@tsconfig/svelte":"^5.0.4","@sveltejs/vite-plugin-svelte":"^5.0.3"},"peerDependencies":{"svelte":">=5","@hyvor/icons":"^1.1.0","@hyvor/design":">=2.0.0-0 <3.0.0-0"},"_npmOperationalInternal":{"tmp":"tmp/richtext_0.0.22_1789001410152_0.7557778666063504","host":"s3://npm-registry-packages-npm-production"}},"0.0.23":{"name":"@hyvor/richtext","version":"0.0.23","license":"MIT","_id":"@hyvor/richtext@0.0.23","maintainers":[{"name":"supunkavinda","email":"hi@supun.io"},{"name":"nadil-k","email":"nadilkarunaratna2000@gmail.com"}],"homepage":"https://github.com/hyvor/richtext#readme","bugs":{"url":"https://github.com/hyvor/richtext/issues"},"dist":{"shasum":"867b86114325824b4a32fe3dbde4294c5b362af9","tarball":"https://registry.npmjs.org/@hyvor/richtext/-/richtext-0.0.23.tgz","fileCount":175,"integrity":"sha512-XTpxZMbmgHYGv2gA3hPQQZtWibwe7odjON8Rteg9y1H78ZmJR7qRjlSFIPRrvi+0EStMDa7PFF8SzEkpDKZ1QQ==","signatures":[{"sig":"MEQCIFzQ8+zwTvdEyVE/AT2ekPOMfQU+J5BANrIkqSt+oCjaAiA3rTVuOFfrLcnW5Yz3yH/m1bQ4FOD9MW5q4ce52bYZig==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hyvor%2frichtext@0.0.23","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":396495},"type":"module","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"gitHead":"7543b44d7c1daf6da1307ce3b8efe2e5f94c716a","private":false,"scripts":{"dev":"vite","build":"vite build","check":"svelte-check --tsconfig ./tsconfig.json && tsc -p tsconfig.json","package":"svelte-kit sync && svelte-package","prepare":"svelte-kit sync","preview":"vite preview","dev:collab-server":"node dev-server/collab-server.mjs"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ede90c45-c8ea-4f53-9426-c6151c34c56f"}},"repository":{"url":"git+https://github.com/hyvor/richtext.git"},"_npmVersion":"11.19.0","description":"Rich Text Editor for Hyvor Blogs & Hyvor Posts","directories":{},"_nodeVersion":"24.20.0","dependencies":{"tldts":"^6.1.77","codemirror":"^5.0.0","prosemirror-view":"^1.32.7","@sveltejs/package":"^2.4.0","prosemirror-model":"^1.19.4","prosemirror-state":"^1.4.3","prosemirror-collab":"^1.3.1","prosemirror-tables":"^1.3.5","prosemirror-history":"^1.3.2","prosemirror-commands":"^1.5.2","prosemirror-gapcursor":"^1.3.2","prosemirror-dropcursor":"^1.8.1","prosemirror-inputrules":"^1.3.0","prosemirror-schema-list":"^1.3.0"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.21.3","vite":"^6.1.0","typescript":"~5.7.2","svelte-check":"^4.1.4","@tsconfig/svelte":"^5.0.4","@sveltejs/vite-plugin-svelte":"^5.0.3"},"peerDependencies":{"svelte":">=5","@hyvor/icons":"^1.1.0","@hyvor/design":"*"},"_npmOperationalInternal":{"tmp":"tmp/richtext_0.0.23_1789001739696_0.33523176991247694","host":"s3://npm-registry-packages-npm-production"}},"0.0.24":{"_id":"@hyvor/richtext@0.0.24","bugs":{"url":"https://github.com/hyvor/richtext/issues"},"dist":{"shasum":"d73b72142a4bf56865c5f9cd2f29ad921f4fffc3","tarball":"https://registry.npmjs.org/@hyvor/richtext/-/richtext-0.0.24.tgz","fileCount":177,"integrity":"sha512-b+m5STV/gJ66hBfvkicA3F+AGG4TIbwMZ4D8Uai6JBO+mMezXxw5VeIPX+pDKbIk/nJjf/r07inMYno3mW9iLw==","signatures":[{"sig":"MEUCIQCa+Xod23PuB2ge/91nBjvAviVkCCKcuf8qy3e1INTwQQIgONM96xd3KVoAY7A/S3UabVsTabvZ46lj4a5n4k3q3VE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDjUit2grBEIhbn57jgOaPgrwpN09HkigbM8sy22Vk0KgIhAJmRHvnqbVftfxXIDFr9fbBzcMmpNUQNqex37thU+/kz"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hyvor%2frichtext@0.0.24","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":398278},"name":"@hyvor/richtext","type":"module","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"gitHead":"a959b422da4e8d2ee4787da1b3128f6315190a53","license":"MIT","private":false,"scripts":{"dev":"vite","build":"vite build","check":"svelte-check --tsconfig ./tsconfig.json && tsc -p tsconfig.json","package":"svelte-kit sync && svelte-package","prepare":"svelte-kit sync","preview":"vite preview","dev:collab-server":"node dev-server/collab-server.mjs"},"version":"0.0.24","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ede90c45-c8ea-4f53-9426-c6151c34c56f"}},"homepage":"https://github.com/hyvor/richtext#readme","repository":{"url":"git+https://github.com/hyvor/richtext.git"},"_npmVersion":"11.19.0","description":"Rich Text Editor for Hyvor Blogs & Hyvor Posts","directories":{},"maintainers":[{"name":"supunkavinda","email":"hi@supun.io"},{"name":"nadil-k","email":"nadilkarunaratna2000@gmail.com"}],"_nodeVersion":"24.21.0","dependencies":{"tldts":"^6.1.77","codemirror":"^5.0.0","prosemirror-view":"^1.32.7","@sveltejs/package":"^2.4.0","prosemirror-model":"^1.19.4","prosemirror-state":"^1.4.3","prosemirror-collab":"^1.3.1","prosemirror-tables":"^1.3.5","prosemirror-history":"^1.3.2","prosemirror-commands":"^1.5.2","prosemirror-gapcursor":"^1.3.2","prosemirror-dropcursor":"^1.8.1","prosemirror-inputrules":"^1.3.0","prosemirror-schema-list":"^1.3.0"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.21.3","vite":"^6.1.0","typescript":"~5.7.2","svelte-check":"^4.1.4","@tsconfig/svelte":"^5.0.4","@sveltejs/vite-plugin-svelte":"^5.0.3"},"peerDependencies":{"svelte":">=5","@hyvor/icons":"^1.1.0","@hyvor/design":"*"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/richtext_0.0.24_1790086503505_0.7906186789511238"}}},"time":{"created":"2025-07-21T21:07:21.765Z","modified":"2026-09-22T14:15:03.918Z","0.0.4":"2025-07-21T21:07:22.097Z","0.0.5":"2025-07-21T21:18:36.663Z","0.0.6":"2025-07-21T21:32:30.390Z","0.0.7":"2025-09-19T05:42:41.419Z","0.0.8":"2025-09-29T09:37:53.862Z","0.0.9":"2025-09-29T12:45:25.566Z","0.0.10":"2025-10-08T10:04:23.324Z","0.0.11":"2025-10-09T09:31:44.419Z","0.0.14":"2026-02-05T03:13:34.888Z","0.0.15":"2026-08-04T08:44:27.633Z","0.0.16":"2026-08-04T10:30:26.364Z","0.0.17-beta.diff.1":"2026-08-05T22:45:44.599Z","0.0.17-beta.diff.2":"2026-08-05T23:28:04.077Z","0.0.17-beta.diff.3":"2026-08-16T13:11:30.776Z","0.0.17-beta.diff.4":"2026-08-17T01:12:52.791Z","0.0.17-beta.diff.5":"2026-08-17T04:44:13.394Z","0.0.17-beta.collab.1":"2026-08-17T06:01:41.226Z","0.0.17-beta.diff.6":"2026-08-18T11:19:38.029Z","0.0.17":"2026-08-18T11:59:18.976Z","0.0.18":"2026-08-27T04:17:13.085Z","0.0.19":"2026-08-31T13:48:56.368Z","0.0.20":"2026-09-03T10:20:52.369Z","0.0.21":"2026-09-04T03:37:25.818Z","0.0.22":"2026-09-10T00:50:10.348Z","0.0.23":"2026-09-10T00:55:39.844Z","0.0.24":"2026-09-22T14:15:03.598Z"},"bugs":{"url":"https://github.com/hyvor/richtext/issues"},"license":"MIT","homepage":"https://github.com/hyvor/richtext#readme","repository":{"url":"git+https://github.com/hyvor/richtext.git"},"description":"Rich Text Editor for Hyvor Blogs & Hyvor Posts","maintainers":[{"name":"supunkavinda","email":"hi@supun.io"},{"name":"nadil-k","email":"nadilkarunaratna2000@gmail.com"}],"readme":"# HYVOR Rich Text Editor\n\nUsed in Hyvor Blogs and Hyvor Post.\n\n## Usage\n\n```svelte\n<script lang=\"ts\">\n  import { Editor, getSchema } from '@hyvor/richtext';\n\n  // get the schema, which you can share across multiple editors\n  const schema = getSchema({\n    codeBlock: true,\n    customHtml: true,\n    embed: true,\n    image: false,\n    audio: false,\n    bookmark: true,\n    toc: true,\n    table: true,\n    button: true,\n  });\n</script>\n\n\n<Editor\n\n    bind:editorView\n    content={content}\n    schema={schema}\n    onvaluechange={handleValueChange}\n    rtl={false}\n\n/>\n```\n\n\n## Nodes\n\n###  `doc`\n\n- The top-level node representing the entire document.\n\n### `text`\n\n- A text node containing plain text. \n- This is usually the only node that contains marks.\n- Group: `inline`\n\n### `paragraph`\n\n- A block-level node representing a paragraph of text.\n- Parsed from `<p>` HTML tag.\n- Group: `block`\n- Content: `inline*`\n\n### `heading`\n\n- A block-level node representing a heading.\n- Attributes:\n  - `level`: The level of the heading (1-6).\n  - `id`: Optional ID for the heading, useful for anchors.\n- Parsed from `<h1>`, `<h2>`, `<h3>`, etc. HTML tags.\n- Group: `block`\n- Content: `inline*`\n\n### `blockquote`\n\n- A block-level node representing a blockquote.\n- Parsed from `<blockquote>` HTML tag.\n- Group: `block`\n- Content: `block+`\n\n### `callout`\n\n- A block-level node representing a callout box.\n- Attributes:\n  - `emoji`: An emoji to display in the callout. Default `💡`\n  - `bg`: Background color of the callout. Default `#f1f1ef`\n  - `fg`: Foreground color of the callout. Default `#000000`\n- Parsed from `<aside>`\n\n### `figure`\n\n- A block-level node representing a figure, containing an image or audio node along with an optional caption.\n- Parsed from `<figure>` HTML tag.\n- Group: `block`\n- Content: `(image|audio) figcaption`\n- `config.imageEnabled` or `config.embedEnabled` must be `true` to enable this node.\n\n### `figcaption`\n\n- An element that represents a caption or legend for a figure.\n- Parsed from `<figcaption>` HTML tag.\n- Content: `inline*`\n- Same conditions as the `figure` node to enable.\n\n### `image`\n\n- A block-level node representing an image, living inside a figure.\n- Attributes:\n  - `src`: The source URL of the image.\n  - `alt`: Alternative text for the image.\n  - `width`: Custom width of the image in pixels (`null` by default).\n  - `height`: Custom height of the image in pixels (`null` by default).\n- Parsed from `<img>` HTML tag.\n- `config.imageEnabled` must be `true` to enable this node.\n\nNote: `config.imageUploader` must be provided to upload images.\n\n### `audio`\n\n- A block-level node representing an audio file.\n- Attributes:\n  - `src`: The source URL of the audio file.\n- Parsed from `<audio>` HTML tag.\n- `config.audioEnabled` must be `true` to enable this node.\n\nNote: `config.audioUploader` must be provided to upload audio files.\n\n### `embed`\n\n- A block-level node representing an embed, living inside a figure.\n- Attributes:\n  - `url`: The URL of the embedded content.\n- Parsed from `<x-embed>` HTML tag.\n- Group: `block`\n- `config.embedEnabled` must be `true` to enable this node.\n\n### `bookmark`\n\n- A block-level node representing a link bookmark preview.\n- Attributes:\n  - `url`: The URL of the bookmark.\n- Parsed from `<bookmark>` HTML tag.\n- Group: `block`\n- `config.bookmarkEnabled` must be `true` to enable this node.\n\n### `toc`\n\n- A block-level node representing a table of contents.\n- Attributes:\n  - `levels`: The heading levels to include in the TOC (e.g., `[1, 2, 3]`).\n- Group: `block`\n- `config.tocEnabled` must be `true` to enable this node.\n\n### `table`\n\n- A block-level node representing a table.\n- Subnodes: `table_row`, `table_cell`, `table_header`\n- Parsed from `<table>` HTML tag.\n- Group: `block`\n- `config.tableEnabled` must be `true` to enable this node.\n\n### `button`\n\n- A block-level node representing a button.\n- Attributes:\n  - `href`: The URL the button links to.\n- Parsed from `<div class=\"button-wrap\">` HTML tag.\n- Group: `block`\n- Content: `inline*`\n- `config.buttonEnabled` must be `true` to enable this node.\n\n\n### `code_block`\n\n- A block-level node representing a block of preformatted code.\n- Attributes:\n  - `language`: The programming language of the code block (optional).\n  - `annotations`: An array of annotations for the code block (optional).\n  - `name`: Filename associated with the code block (optional).\n- Parsed from `<pre><code>` HTML tags.\n- Group: `block`\n- Content: `text*`\n\n### `custom_html`\n\n- A block-level node representing custom HTML content.\n- Attributes:\n- Content: `text*`\n\n\n## Marks\n\nThe following marks are supported:\n\n- `code`\n<!-- - `highlight` -->\n- `link` (attributes: `href`)\n- `em`\n- `strong`\n- `strike`\n- `sup`\n- `sub`\n- `suggestion` (attributes: `type`, `id`, `add`, `remove`) - see [Suggestions & Comments](#suggestions--comments) below. Not meant to be toggled directly; use the suggestions plugin's commands instead.\n\n\n## Suggestions & Comments\n\nTrack-changes (suggested insertions/deletions/formatting) and comment threads share one\nmark (`suggestion`) and one node attribute (`suggestions`), so they're set up together via\na single plugin.\n\n```svelte\n<script lang=\"ts\">\n  import { Editor, getSchema, suggestionsPlugin, type Author, type AuthorInfo } from '@hyvor/richtext';\n\n  const schema = getSchema();\n  const currentAuthor: Author = 'user:42'; // or 'ai'\n\n  const plugin = suggestionsPlugin({\n    author: currentAuthor,\n    mode: 'suggesting', // 'editing' (default) | 'suggesting'\n    resolveAuthor,\n    source,\n  });\n</script>\n\n<Editor {schema} plugins={[plugin]} ... />\n```\n\n### Attribution: `author` and `resolveAuthor`\n\n- `author` is the id of whoever is currently editing (`` `user:${string}` `` or `\"ai\"`), attached to\n  every suggestion/comment this session creates.\n- `resolveAuthor(author)` turns an `Author` id into `{ name, picture? }` for display in the\n  floating review panel. May be async (e.g. a network/directory lookup).\n\n### `source`: where authorship and comment content actually live\n\n**Author identity and comment/reply content are never stored in the document itself** -\nonly a mark/node-attr `id` is. This is deliberate: the document is fully client-editable\ncontent, so embedding `author` in it would let anyone claim any author by hand-editing the\nsaved JSON. Instead, `source` is a host-supplied backing store the plugin reads/writes by\n`id` - the same \"editor only holds a reference, host owns the real data\" pattern as\n`editorConfig.fileUploader`. Real authorship enforcement (e.g. stamping the authenticated\nuser server-side, rather than trusting whatever a client passes into `create`/`reply`) is\nthe host's responsibility, not the editor's.\n\n```ts\nimport type { SuggestionSource } from '@hyvor/richtext';\n\nconst source: SuggestionSource = {\n  // Called in batches whenever the editor encounters ids it hasn't seen yet\n  // (e.g. right after loading a document). Return null for an id your\n  // backend has no record of - it will not be retried.\n  async get(ids) {\n    const rows = await api.getSuggestions(ids);\n    return Object.fromEntries(ids.map((id) => [id, rows[id] ?? null]));\n  },\n\n  // Fire-and-forget notifications - called once per event, after the\n  // causing change has already been applied locally.\n  create(id, type, author) {\n    api.createSuggestion({ id, type, author });\n  },\n  reply(id, reply) {\n    api.addReply(id, reply); // reply: { id, author, content, timestamp }\n  },\n  resolve(id, decision) {\n    // decision: \"accept\" | \"reject\" | \"resolve\"\n    api.resolveSuggestion(id, decision);\n  },\n};\n```\n\n`get`/`create`/`reply` are required; `resolve` is optional (skip it if you don't need to\nclean up resolved/accepted/rejected records host-side).\n\n### Commands (from `@hyvor/richtext`)\n\n- `getSuggestions(state)` - list all pending suggestions/comments (`{id, type, author,\n  from, to, comments, ...}`); `author`/`comments` are `null`/`[]` until `source.get`\n  resolves them.\n- `acceptSuggestion(view, id)` / `rejectSuggestion(view, id)` - resolve a single\n  insert/delete/format suggestion.\n- `acceptAllSuggestions(view)` / `rejectAllSuggestions(view)` - bulk variants (skip\n  comment-type entries).\n- `addComment(view, text)` - attach a new comment thread to the current selection.\n- `replyToSuggestion(view, id, text)` - reply to any thread (a comment, or a live\n  suggestion) - this never touches the document, only `source`.\n- `resolveComment(view, id)` - close a comment thread.\n- `setSuggestionMode(view, mode)` / `getSuggestionMode(state)` - toggle `'editing'` vs\n  `'suggesting'`; while suggesting, edits are recorded as suggestions instead of applied\n  directly.\n- `setCurrentAuthor(view, author)` / `getCurrentAuthor(state)`.\n- `seedSuggestionSource(view, entries)` - pre-populate the plugin's local cache with\n  already-known `{id, type, author}` triples without waiting on `source.get()` - useful\n  for suggestions your app generates itself (e.g. `buildDiffDoc`'s output, see below)\n  rather than ones the user typed.\n\n### Diff view\n\n`buildDiffDoc(diffs, schema)` (from `diffDoc`'s output) builds a suggestion-annotated\ndocument from a two-document diff, for a track-changes-style merged view. It returns\n`{ doc, suggestions }` - `suggestions` is the list of generated `{id, type}` pairs, which\nhave no author of their own (a diff has no per-change authorship) and must be attributed\nby the caller, typically via `seedSuggestionSource` or by writing directly into your\n`source`'s backing store.\n\n\n## Collaboration\n\nReal-time collaborative editing is built on [`prosemirror-collab`](https://prosemirror.net/docs/ref/#collab).\nThe editor never talks to a server itself - the host provides a transport via\n`editorConfig.collab` and feeds remote steps back in via `editor.collab.receiveSteps()`.\nServer-side implementation (assigning versions, rebroadcasting steps to other clients,\npersisting the document) is entirely up to the host app.\n\n```svelte\n<script lang=\"ts\">\n  import { Editor, getSchema } from '@hyvor/richtext';\n\n  const schema = getSchema();\n  let editor: Editor;\n</script>\n\n<Editor\n  {schema}\n  editorConfig={{\n    collab: {\n      version: 0, // the version this initial doc corresponds to\n      clientID: currentUserId, // optional, random by default\n      onSendable(sendable) {\n        // sendable: { version, steps, clientID } - send it to your server\n        connection.send(sendable);\n      },\n    },\n  }}\n  bind:this={editor}\n/>\n```\n\nWhenever your transport receives a batch of steps from the server (including batches made\nup of this client's own steps being confirmed), pass them to:\n\n```ts\neditor.collab.receiveSteps(steps, clientIDs);\n```\n\n`editor.collab.getVersion()` returns the editor's current collab version.\n\nSee `DEV.md` for a minimal local WebSocket server used to try this out during development.\n\n### Cursors (other users' selections)\n\nShows other users' cursors/selections as a colored caret + tinted selection, with a name\ntooltip on hovering the caret. Same split as collaboration: the editor never talks to a\nserver - the host provides `editorConfig.cursors` and feeds remote cursors in via\n`editor.cursors.set()`.\n\n```svelte\n<script lang=\"ts\">\n  import { Editor, getSchema, type RemoteCursor } from '@hyvor/richtext';\n\n  const schema = getSchema();\n  let editor: Editor;\n</script>\n\n<Editor\n  {schema}\n  editorConfig={{\n    cursors: {\n      debounceMs: 250, // default\n      onLocalCursorChange(cursor) {\n        // cursor: { from, to } | null (null on blur) - send it to your server\n        connection.send(cursor);\n      },\n    },\n  }}\n  bind:this={editor}\n/>\n```\n\nWhenever your transport tells you about other users' cursors, pass the full current list to:\n\n```ts\neditor.cursors.set(cursors); // RemoteCursor[]: { clientId, from, to, user: { name, color, picture? } }\n```\n\n`clientId` identifies which user a given entry belongs to across updates - reusing\n`editorConfig.collab`'s `clientID` is the natural choice if you're running both together.\n`user.color` is any CSS color, used for the caret, tooltip, and (tinted) selection\nhighlight.\n\nSee `DEV.md` for how the local WebSocket server also relays cursor presence.","readmeFilename":"README.md"}