{"_id":"@caeher/react-tiptap-editor","_rev":"9-460420fa5d9230254ca2886285c10178","name":"@caeher/react-tiptap-editor","dist-tags":{"latest":"1.6.2"},"versions":{"1.0.0":{"name":"@caeher/react-tiptap-editor","version":"1.0.0","_id":"@caeher/react-tiptap-editor@1.0.0","maintainers":[{"name":"caeher","email":"eh18010@ues.edu.sv"}],"homepage":"https://github.com/caeher/react-tiptap-editor#readme","bugs":{"url":"https://github.com/caeher/react-tiptap-editor/issues"},"dist":{"shasum":"3202cb8d4bf23766969b3d017fe00a04e47ce9e8","tarball":"https://registry.npmjs.org/@caeher/react-tiptap-editor/-/react-tiptap-editor-1.0.0.tgz","fileCount":322,"integrity":"sha512-Q/CtnfrrBrW8a7MjCoW//BK8Oxf5czV2YsHJms4mgBTcnC1HywPYEbiSa7n2Vvz2AhQbPMfnb8J4ZPKnweIJow==","signatures":[{"sig":"MEQCICeBuzuvsw9TXLbkfDjwLrzNeIeJsft1LmIn5pd3yu9hAiAGGcXEPkwPGf6+tw77F9jsS0useC2NTYkA6YwYRDAMFQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10870619},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./dist/index.css":"./dist/index.css"},"gitHead":"acb2f6ba1f8a8c835500e321b5585741a4a5a999","scripts":{"dev":"vite","lint":"eslint .","build":"tsc -b && vite build","preview":"vite preview","semantic-release":"semantic-release"},"_npmUser":{"name":"caeher","email":"eh18010@ues.edu.sv"},"repository":{"url":"git+https://github.com/caeher/react-tiptap-editor.git","type":"git"},"_npmVersion":"10.9.8","description":"A premium, Notion-style rich text editor for React, built on top of TipTap, Shiki, and Tailwind CSS.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"shiki":"^3.23.0","lucide-react":"^1.14.0","tiptap-markdown":"^0.9.0","@tiptap/suggestion":"^3.22.5","@tiptap/extension-link":"^3.22.5","@tiptap/extension-list":"^3.22.5","@internationalized/date":"^3.12.1","@tailwindcss/typography":"^0.5.19","@tiptap/extension-image":"^3.22.5","@tiptap/extension-table":"^3.22.5","@tiptap/extension-underline":"^3.22.5","@tiptap/extension-typography":"^3.22.5","@tiptap/extension-placeholder":"^3.22.5","tiptap-extension-code-block-shiki":"^1.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.10","react":"^19.2.5","eslint":"^10.2.1","globals":"^17.5.0","react-dom":"^19.2.5","@eslint/js":"^10.0.1","@tiptap/pm":"^3.22.5","typescript":"~6.0.2","@types/node":"^24.12.2","tailwindcss":"^4.2.4","@tiptap/core":"^3.22.5","@types/react":"^19.2.14","@tiptap/react":"^3.22.5","vite-plugin-dts":"^5.0.0","@types/react-dom":"^19.2.3","semantic-release":"^24.2.9","@tailwindcss/vite":"^4.2.4","typescript-eslint":"^8.58.2","@tiptap/starter-kit":"^3.22.5","@vitejs/plugin-react":"^6.0.1","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.2","@semantic-release/github":"^11.0.6","eslint-plugin-react-hooks":"^7.1.1","@semantic-release/changelog":"^6.0.3","eslint-plugin-react-refresh":"^0.5.2","@semantic-release/commit-analyzer":"^13.0.1","@semantic-release/release-notes-generator":"^14.1.0"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0","@tiptap/pm":"^3.0.0","@tiptap/core":"^3.0.0","@tiptap/react":"^3.0.0","@tiptap/starter-kit":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-tiptap-editor_1.0.0_1777771579137_0.31068016227068207","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@caeher/react-tiptap-editor","version":"1.1.0","_id":"@caeher/react-tiptap-editor@1.1.0","maintainers":[{"name":"caeher","email":"eh18010@ues.edu.sv"}],"homepage":"https://github.com/caeher/react-tiptap-editor#readme","bugs":{"url":"https://github.com/caeher/react-tiptap-editor/issues"},"dist":{"shasum":"b1c24429325712313843d052cccab3865c225c9e","tarball":"https://registry.npmjs.org/@caeher/react-tiptap-editor/-/react-tiptap-editor-1.1.0.tgz","fileCount":323,"integrity":"sha512-wrEj4YGlktnHHBpXPWlqfDeXAZGLBe4jOIAKSvCI0tQ0rfib6njqD/xUXXPvuEftf7PUzRLYwEEZsTjiRkjdsA==","signatures":[{"sig":"MEUCIQDDo3bbK0/66gj0zBHvzy2uKPcu9MFsXfYEH2YnB7URsgIgYQYuIrP55q10ZEwBHbUkZTGGTc+wobM9o7nKzBQt88k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10880951},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./dist/index.css":"./dist/index.css"},"gitHead":"afffa6bf4f796611cf895438f698857b23b5b425","scripts":{"dev":"vite","lint":"eslint .","build":"tsc -b && vite build","preview":"vite preview","semantic-release":"semantic-release"},"_npmUser":{"name":"caeher","email":"eh18010@ues.edu.sv"},"repository":{"url":"git+https://github.com/caeher/react-tiptap-editor.git","type":"git"},"_npmVersion":"10.9.8","description":"A feature-rich, Tailwind CSS-styled React rich text editor built on top of Tiptap.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"shiki":"^3.23.0","lucide-react":"^1.14.0","tiptap-markdown":"^0.9.0","@tiptap/suggestion":"^3.22.5","@tiptap/extension-link":"^3.22.5","@tiptap/extension-list":"^3.22.5","@internationalized/date":"^3.12.1","@tailwindcss/typography":"^0.5.19","@tiptap/extension-image":"^3.22.5","@tiptap/extension-table":"^3.22.5","@tiptap/extension-underline":"^3.22.5","@tiptap/extension-typography":"^3.22.5","@tiptap/extension-placeholder":"^3.22.5","tiptap-extension-code-block-shiki":"^1.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.10","react":"^19.2.5","eslint":"^10.2.1","globals":"^17.5.0","react-dom":"^19.2.5","@eslint/js":"^10.0.1","@tiptap/pm":"^3.22.5","typescript":"~6.0.2","@types/node":"^24.12.2","tailwindcss":"^4.2.4","@tiptap/core":"^3.22.5","@types/react":"^19.2.14","@tiptap/react":"^3.22.5","vite-plugin-dts":"^5.0.0","@types/react-dom":"^19.2.3","semantic-release":"^24.2.9","@tailwindcss/vite":"^4.2.4","typescript-eslint":"^8.58.2","@tiptap/starter-kit":"^3.22.5","@vitejs/plugin-react":"^6.0.1","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.2","@semantic-release/github":"^11.0.6","eslint-plugin-react-hooks":"^7.1.1","@semantic-release/changelog":"^6.0.3","eslint-plugin-react-refresh":"^0.5.2","@semantic-release/commit-analyzer":"^13.0.1","@semantic-release/release-notes-generator":"^14.1.0"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0","@tiptap/pm":"^3.0.0","@tiptap/core":"^3.0.0","@tiptap/react":"^3.0.0","@tiptap/starter-kit":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-tiptap-editor_1.1.0_1778408522770_0.2885945191505117","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@caeher/react-tiptap-editor","version":"1.2.0","_id":"@caeher/react-tiptap-editor@1.2.0","maintainers":[{"name":"caeher","email":"eh18010@ues.edu.sv"}],"homepage":"https://github.com/caeher/react-tiptap-editor#readme","bugs":{"url":"https://github.com/caeher/react-tiptap-editor/issues"},"dist":{"shasum":"8cafcd1b66a44f3cdbc82515a9bb4d1892c74c2c","tarball":"https://registry.npmjs.org/@caeher/react-tiptap-editor/-/react-tiptap-editor-1.2.0.tgz","fileCount":322,"integrity":"sha512-QgytgZ9fah9Mjpj16vwtP+THkLXsyknsiR82mWUK1anGrxOe+4/8zgADrnzXTj3i6gPegtC7nRKq78Oyf4z/1Q==","signatures":[{"sig":"MEYCIQCyqoHbu8W8MO0ZacNFHnqamJWoEFSIeEi4mbPebHPZuAIhAJg7kwpEin2sLt1da69xgbmU0iNjyRbLY+7HbBwdOZZ/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10906360},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./dist/index.css":"./dist/index.css"},"gitHead":"d9c5c896bc4d8ce1ae885cc249c215074812c6da","scripts":{"dev":"vite","lint":"eslint .","build":"tsc -b && vite build","preview":"vite preview","semantic-release":"semantic-release"},"_npmUser":{"name":"caeher","email":"eh18010@ues.edu.sv"},"overrides":{"@semantic-release/npm":{"npm":"^11.14.1"}},"repository":{"url":"git+https://github.com/caeher/react-tiptap-editor.git","type":"git"},"_npmVersion":"11.14.1","description":"A feature-rich, Tailwind CSS-styled React rich text editor built on top of Tiptap.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@tiptap/extension-dropcursor":"^3.23.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.10","react":"^19.2.5","shiki":"^4.0.2","eslint":"^10.2.1","globals":"^17.5.0","react-dom":"^19.2.5","@eslint/js":"^10.0.1","@tiptap/pm":"^3.22.5","typescript":"~6.0.2","@types/node":"^25.6.2","tailwindcss":"^4.2.4","@tiptap/core":"^3.22.5","@types/react":"^19.2.14","lucide-react":"^1.14.0","@tiptap/react":"^3.22.5","tiptap-markdown":"^0.9.0","vite-plugin-dts":"^5.0.0","@types/react-dom":"^19.2.3","semantic-release":"^24.2.9","@tailwindcss/vite":"^4.2.4","typescript-eslint":"^8.58.2","@tiptap/suggestion":"^3.22.5","@tiptap/starter-kit":"^3.22.5","@vitejs/plugin-react":"^6.0.1","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.2","@tiptap/extension-link":"^3.22.5","@tiptap/extension-list":"^3.22.5","@tailwindcss/typography":"^0.5.19","@tiptap/extension-image":"^3.22.5","@tiptap/extension-table":"^3.22.5","@semantic-release/github":"^11.0.6","eslint-plugin-react-hooks":"^7.1.1","@semantic-release/changelog":"^6.0.3","@tiptap/extension-underline":"^3.22.5","eslint-plugin-react-refresh":"^0.5.2","@tiptap/extension-typography":"^3.22.5","@tiptap/extension-placeholder":"^3.22.5","@semantic-release/commit-analyzer":"^13.0.1","tiptap-extension-code-block-shiki":"^1.1.0","@semantic-release/release-notes-generator":"^14.1.0"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0","@tiptap/pm":"^3.0.0","@tiptap/core":"^3.0.0","@tiptap/react":"^3.0.0","@tiptap/starter-kit":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-tiptap-editor_1.2.0_1778414000976_0.9095461254932946","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@caeher/react-tiptap-editor","version":"1.3.0","_id":"@caeher/react-tiptap-editor@1.3.0","maintainers":[{"name":"caeher","email":"eh18010@ues.edu.sv"}],"homepage":"https://github.com/caeher/react-tiptap-editor#readme","bugs":{"url":"https://github.com/caeher/react-tiptap-editor/issues"},"dist":{"shasum":"962ff1985a30aa797217c3406fdb425f4a05e411","tarball":"https://registry.npmjs.org/@caeher/react-tiptap-editor/-/react-tiptap-editor-1.3.0.tgz","fileCount":2,"integrity":"sha512-xPavB98E93sos4QhEU9e572emYIOmDu6kuubBFDPBjNlcmj5+Yz4CDErYnZInEIPEk/yHa/Mzazgvaeo8w+VHQ==","signatures":[{"sig":"MEUCIGoNnbrz5tehEdov29YAqRqxelCL9rWXsj0h2BsOQUAtAiEA0V0kvMz209Zy5eZEickRSqdBIPnCIzgQzL01ifH0y9U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6357},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./dist/index.css":"./dist/index.css"},"gitHead":"8e4173ce920cce81da720629910be2207052ad9a","scripts":{"lint":"eslint .","build":"tsc -b"},"_npmUser":{"name":"caeher","email":"eh18010@ues.edu.sv"},"repository":{"url":"git+https://github.com/caeher/react-tiptap-editor.git","type":"git"},"_npmVersion":"10.8.2","description":"A feature-rich, Tailwind CSS-styled React rich text editor built on top of Tiptap.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@tiptap/extension-dropcursor":"^3.23.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.2.5","shiki":"^4.0.2","eslint":"^10.2.1","globals":"^17.5.0","react-dom":"^19.2.5","@eslint/js":"^10.0.1","@tiptap/pm":"^3.22.5","typescript":"~6.0.2","@types/node":"^25.6.2","tailwindcss":"^4.2.4","@tiptap/core":"^3.22.5","@types/react":"^19.2.14","lucide-react":"^1.14.0","@tiptap/react":"^3.22.5","tiptap-markdown":"^0.9.0","@types/react-dom":"^19.2.3","@tailwindcss/vite":"^4.2.4","typescript-eslint":"^8.58.2","@tiptap/suggestion":"^3.22.5","@tiptap/starter-kit":"^3.22.5","@tiptap/extension-link":"^3.22.5","@tiptap/extension-list":"^3.22.5","@tailwindcss/typography":"^0.5.19","@tiptap/extension-image":"^3.22.5","@tiptap/extension-table":"^3.22.5","eslint-plugin-react-hooks":"^7.1.1","@tiptap/extension-underline":"^3.22.5","eslint-plugin-react-refresh":"^0.5.2","@tiptap/extension-typography":"^3.22.5","@tiptap/extension-placeholder":"^3.22.5","tiptap-extension-code-block-shiki":"^1.1.0"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0","@tiptap/pm":"^3.0.0","@tiptap/core":"^3.0.0","@tiptap/react":"^3.0.0","@tiptap/starter-kit":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-tiptap-editor_1.3.0_1778416047458_0.7322069455066957","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@caeher/react-tiptap-editor","version":"1.3.1","_id":"@caeher/react-tiptap-editor@1.3.1","maintainers":[{"name":"caeher","email":"eh18010@ues.edu.sv"}],"homepage":"https://github.com/caeher/react-tiptap-editor#readme","bugs":{"url":"https://github.com/caeher/react-tiptap-editor/issues"},"dist":{"shasum":"d3b5184961853a7540d1de16a971a7dd1778f6f5","tarball":"https://registry.npmjs.org/@caeher/react-tiptap-editor/-/react-tiptap-editor-1.3.1.tgz","fileCount":354,"integrity":"sha512-mizwq+wKF3cw48ksd+HEsRXO0pK8JiuRFdfHlikxWePfA/LBiHBCS87AELnPSc1xru/zA/7org1EJLB2fUAOvw==","signatures":[{"sig":"MEYCIQDQ9xksqSE1KuwS/ymO8E30qTqLLm7Db3IjMgnrFgtKcAIhAPDd+nrb61bx++igX6OYK9sYaQIf3eMkWOi7AFIm0Kaw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19972497},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./dist/index.css":"./dist/index.css"},"gitHead":"355fce6bdee1ebf31f23790d2616cda499d8d017","scripts":{"lint":"eslint .","build":"tsup src/index.ts --format esm,cjs --dts --minify --clean && npx tailwindcss -i src/index.css -o dist/index.css --minify","prepublishOnly":"npm run build"},"_npmUser":{"name":"caeher","email":"eh18010@ues.edu.sv"},"repository":{"url":"git+https://github.com/caeher/react-tiptap-editor.git","type":"git"},"_npmVersion":"10.8.2","description":"A feature-rich, Tailwind CSS-styled React rich text editor built on top of Tiptap.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@tiptap/extension-dropcursor":"^3.23.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","react":"^19.2.5","shiki":"^4.0.2","eslint":"^10.2.1","globals":"^17.5.0","react-dom":"^19.2.5","@eslint/js":"^10.0.1","@tiptap/pm":"^3.22.5","typescript":"~6.0.2","@types/node":"^25.6.2","tailwindcss":"^4.2.4","@tiptap/core":"^3.22.5","@types/react":"^19.2.14","lucide-react":"^1.14.0","@tiptap/react":"^3.22.5","tiptap-markdown":"^0.9.0","@tailwindcss/cli":"^4.3.0","@types/react-dom":"^19.2.3","@tailwindcss/vite":"^4.2.4","typescript-eslint":"^8.58.2","@tiptap/suggestion":"^3.22.5","@tiptap/starter-kit":"^3.22.5","@tiptap/extension-link":"^3.22.5","@tiptap/extension-list":"^3.22.5","@tailwindcss/typography":"^0.5.19","@tiptap/extension-image":"^3.22.5","@tiptap/extension-table":"^3.22.5","eslint-plugin-react-hooks":"^7.1.1","@tiptap/extension-underline":"^3.22.5","eslint-plugin-react-refresh":"^0.5.2","@tiptap/extension-typography":"^3.22.5","@tiptap/extension-placeholder":"^3.22.5","tiptap-extension-code-block-shiki":"^1.1.0"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0","@tiptap/pm":"^3.0.0","@tiptap/core":"^3.0.0","@tiptap/react":"^3.0.0","@tiptap/starter-kit":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-tiptap-editor_1.3.1_1778421559357_0.4962246013445293","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"@caeher/react-tiptap-editor","version":"1.5.0","_id":"@caeher/react-tiptap-editor@1.5.0","maintainers":[{"name":"caeher","email":"eh18010@ues.edu.sv"}],"homepage":"https://github.com/caeher/react-tiptap-editor#readme","bugs":{"url":"https://github.com/caeher/react-tiptap-editor/issues"},"dist":{"shasum":"9d0b2d81356297a6b9ba97fde1ce125c0f73d872","tarball":"https://registry.npmjs.org/@caeher/react-tiptap-editor/-/react-tiptap-editor-1.5.0.tgz","fileCount":10,"integrity":"sha512-6qf7hrkgRTXBG0OB1IxVNMdLBIw5PfpysYyy8rdn8MUMioIPJcwNaGRS46Z5BwUZLT5J9i0bsVPUAlo+x/3G6Q==","signatures":[{"sig":"MEUCICrSKcPgETZF6jY3nVvIT/pR0gkEPPRvLk0vS38U1vcnAiEA85ioei+STFKIC6Lf2JrEFLnOJaX9Amd9WGzeLAxzD/Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":351724},"main":"./dist/index.cjs","type":"module","_from":"file:caeher-react-tiptap-editor-1.5.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./style":"./dist/index.css"},"scripts":{"dev":"vite playground","lint":"eslint .","build":"tsup && node -e \"require('fs').copyFileSync('src/components/editor/editor.css', 'dist/index.css')\"","preview":"vite preview playground","playground":"vite playground","build:playground":"vite build playground"},"_npmUser":{"name":"caeher","email":"eh18010@ues.edu.sv"},"_resolved":"/tmp/7127fd68d79ec2111a19b8a4836240a0/caeher-react-tiptap-editor-1.5.0.tgz","_integrity":"sha512-6qf7hrkgRTXBG0OB1IxVNMdLBIw5PfpysYyy8rdn8MUMioIPJcwNaGRS46Z5BwUZLT5J9i0bsVPUAlo+x/3G6Q==","repository":{"url":"git+https://github.com/caeher/react-tiptap-editor.git","type":"git"},"_npmVersion":"10.8.2","description":"A feature-rich, Tailwind CSS-styled React rich text editor built on top of Tiptap.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vite":"^8.0.11","react":"^19.2.5","shiki":"^4.0.2","eslint":"^10.2.1","globals":"^17.5.0","react-dom":"^19.2.5","@eslint/js":"^10.0.1","@tiptap/pm":"^3.22.5","typescript":"~6.0.2","@types/node":"^25.6.2","tailwindcss":"^4.2.4","@tiptap/core":"^3.22.5","@types/react":"^19.2.14","lucide-react":"^1.14.0","@tiptap/react":"^3.22.5","tiptap-markdown":"^0.9.0","@tailwindcss/cli":"^4.3.0","@types/react-dom":"^19.2.3","@tailwindcss/vite":"^4.2.4","typescript-eslint":"^8.58.2","@tiptap/suggestion":"^3.22.5","@tiptap/starter-kit":"^3.22.5","@vitejs/plugin-react":"^6.0.1","@tiptap/extension-link":"^3.22.5","@tiptap/extension-list":"^3.22.5","@tailwindcss/typography":"^0.5.19","@tiptap/extension-image":"^3.22.5","@tiptap/extension-table":"^3.22.5","eslint-plugin-react-hooks":"^7.1.1","@tiptap/extension-underline":"^3.22.5","eslint-plugin-react-refresh":"^0.5.2","@tiptap/extension-dropcursor":"^3.23.1","@tiptap/extension-typography":"^3.22.5","@tiptap/extension-placeholder":"^3.22.5","tiptap-extension-code-block-shiki":"^1.1.0"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","shiki":"^1.0.0 || ^2.0.0 || ^3.0.0 || ^4.0.0","react-dom":"^18.0.0 || ^19.0.0","@tiptap/pm":"^3.0.0","@tiptap/core":"^3.0.0","lucide-react":">=0.300.0","@tiptap/react":"^3.0.0","tiptap-markdown":"^0.8.0 || ^0.9.0","@tiptap/suggestion":"^3.0.0","@tiptap/starter-kit":"^3.0.0","@tiptap/extension-link":"^3.0.0","@tiptap/extension-list":"^3.0.0","@tiptap/extension-image":"^3.0.0","@tiptap/extension-table":"^3.0.0","@tiptap/extension-underline":"^3.0.0","@tiptap/extension-dropcursor":"^3.0.0","@tiptap/extension-typography":"^3.0.0","@tiptap/extension-placeholder":"^3.0.0","tiptap-extension-code-block-shiki":"^1.0.0"},"peerDependenciesMeta":{"shiki":{"optional":true},"tiptap-extension-code-block-shiki":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-tiptap-editor_1.5.0_1778906313943_0.029502334465892233","host":"s3://npm-registry-packages-npm-production"}},"1.5.1":{"name":"@caeher/react-tiptap-editor","version":"1.5.1","_id":"@caeher/react-tiptap-editor@1.5.1","maintainers":[{"name":"caeher","email":"eh18010@ues.edu.sv"}],"homepage":"https://github.com/caeher/react-tiptap-editor#readme","bugs":{"url":"https://github.com/caeher/react-tiptap-editor/issues"},"dist":{"shasum":"a49d61b526d623c1fbbdbd4e0273a015a2b3b479","tarball":"https://registry.npmjs.org/@caeher/react-tiptap-editor/-/react-tiptap-editor-1.5.1.tgz","fileCount":10,"integrity":"sha512-3D0HLHXIGSs5mXJZGmhNJCmbvB+EiKY/IPgIWyF0qEBue7CPIC/x+V2NJYyg6d4QgKl9O5wv5SqEWv3/W2PSdQ==","signatures":[{"sig":"MEQCIDs3n3kcrR5c63yRUTe9WIm18mIWvhJU8j3LKxwQwt5vAiBBByXEeLGt4qb5TQvZ98IXtAwDZAo0D6AlXxxsLOVUDA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":355207},"main":"./dist/index.cjs","type":"module","_from":"file:caeher-react-tiptap-editor-1.5.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./style":"./dist/index.css"},"scripts":{"dev":"vite playground","lint":"eslint .","build":"tsup && node -e \"require('fs').copyFileSync('src/components/editor/editor.css', 'dist/index.css')\"","preview":"vite preview playground","playground":"vite playground","build:playground":"vite build playground"},"_npmUser":{"name":"caeher","email":"eh18010@ues.edu.sv"},"_resolved":"/tmp/50238b1fa165ff1e0dc65281d1d892db/caeher-react-tiptap-editor-1.5.1.tgz","_integrity":"sha512-3D0HLHXIGSs5mXJZGmhNJCmbvB+EiKY/IPgIWyF0qEBue7CPIC/x+V2NJYyg6d4QgKl9O5wv5SqEWv3/W2PSdQ==","repository":{"url":"git+https://github.com/caeher/react-tiptap-editor.git","type":"git"},"_npmVersion":"10.8.2","description":"A feature-rich, Tailwind CSS-styled React rich text editor built on top of Tiptap.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vite":"^8.0.11","react":"^19.2.5","shiki":"^4.0.2","eslint":"^10.2.1","globals":"^17.5.0","react-dom":"^19.2.5","@eslint/js":"^10.0.1","@tiptap/pm":"^3.22.5","typescript":"~6.0.2","@types/node":"^25.6.2","tailwindcss":"^4.2.4","@tiptap/core":"^3.22.5","@types/react":"^19.2.14","lucide-react":"^1.14.0","@tiptap/react":"^3.22.5","tiptap-markdown":"^0.9.0","@tailwindcss/cli":"^4.3.0","@types/react-dom":"^19.2.3","@tailwindcss/vite":"^4.2.4","typescript-eslint":"^8.58.2","@tiptap/suggestion":"^3.22.5","@tiptap/starter-kit":"^3.22.5","@vitejs/plugin-react":"^6.0.1","@tiptap/extension-link":"^3.22.5","@tiptap/extension-list":"^3.22.5","@tailwindcss/typography":"^0.5.19","@tiptap/extension-image":"^3.22.5","@tiptap/extension-table":"^3.22.5","eslint-plugin-react-hooks":"^7.1.1","@tiptap/extension-underline":"^3.22.5","eslint-plugin-react-refresh":"^0.5.2","@tiptap/extension-dropcursor":"^3.23.1","@tiptap/extension-typography":"^3.22.5","@tiptap/extension-placeholder":"^3.22.5","tiptap-extension-code-block-shiki":"^1.1.0"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","shiki":"^1.0.0 || ^2.0.0 || ^3.0.0 || ^4.0.0","react-dom":"^18.0.0 || ^19.0.0","@tiptap/pm":"^3.0.0","@tiptap/core":"^3.0.0","lucide-react":">=0.300.0","@tiptap/react":"^3.0.0","tiptap-markdown":"^0.8.0 || ^0.9.0","@tiptap/suggestion":"^3.0.0","@tiptap/starter-kit":"^3.0.0","@tiptap/extension-link":"^3.0.0","@tiptap/extension-list":"^3.0.0","@tiptap/extension-image":"^3.0.0","@tiptap/extension-table":"^3.0.0","@tiptap/extension-underline":"^3.0.0","@tiptap/extension-dropcursor":"^3.0.0","@tiptap/extension-typography":"^3.0.0","@tiptap/extension-placeholder":"^3.0.0","tiptap-extension-code-block-shiki":"^1.0.0"},"peerDependenciesMeta":{"shiki":{"optional":true},"tiptap-extension-code-block-shiki":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-tiptap-editor_1.5.1_1778910004450_0.14547765786275568","host":"s3://npm-registry-packages-npm-production"}},"1.6.1":{"name":"@caeher/react-tiptap-editor","version":"1.6.1","_id":"@caeher/react-tiptap-editor@1.6.1","maintainers":[{"name":"caeher","email":"eh18010@ues.edu.sv"}],"homepage":"https://github.com/caeher/react-tiptap-editor#readme","bugs":{"url":"https://github.com/caeher/react-tiptap-editor/issues"},"dist":{"shasum":"726f50681f06cd837fcfefeaa3c78040e1462811","tarball":"https://registry.npmjs.org/@caeher/react-tiptap-editor/-/react-tiptap-editor-1.6.1.tgz","fileCount":10,"integrity":"sha512-RhsNF4mICFMuzE2BNoNo5c6fUAHWC9KSfrwxRXaCyuvmavRGZQpbZ+padyPldbXp0gJUpA77yqz/FT8gYdYlcQ==","signatures":[{"sig":"MEYCIQDAnlsS3TCxMvYw4JzUeJMmetPjgaL7cEbwvfaOrmIT/gIhAPbzTeXfFESxs04cQXnFjKx7AAYhw9AR1fNoHasqngTp","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":366937},"main":"./dist/index.cjs","type":"module","_from":"file:caeher-react-tiptap-editor-1.6.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./style":"./dist/index.css"},"scripts":{"dev":"vite playground","lint":"eslint .","build":"tsup && node -e \"require('fs').copyFileSync('src/components/editor/editor.css', 'dist/index.css')\"","preview":"vite preview playground","playground":"vite playground","build:playground":"vite build playground"},"_npmUser":{"name":"caeher","email":"eh18010@ues.edu.sv"},"_resolved":"/tmp/a1938bcb3daaf34a5cb905ac11668b0e/caeher-react-tiptap-editor-1.6.1.tgz","_integrity":"sha512-RhsNF4mICFMuzE2BNoNo5c6fUAHWC9KSfrwxRXaCyuvmavRGZQpbZ+padyPldbXp0gJUpA77yqz/FT8gYdYlcQ==","repository":{"url":"git+https://github.com/caeher/react-tiptap-editor.git","type":"git"},"_npmVersion":"10.9.7","description":"A feature-rich, Tailwind CSS-styled React rich text editor built on top of Tiptap.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vite":"^8.0.11","react":"^19.2.5","shiki":"^4.0.2","eslint":"^10.2.1","globals":"^17.5.0","react-dom":"^19.2.5","@eslint/js":"^10.0.1","@tiptap/pm":"^3.22.5","typescript":"~6.0.2","@types/node":"^25.6.2","tailwindcss":"^4.2.4","@tiptap/core":"^3.22.5","@types/react":"^19.2.14","lucide-react":"^1.14.0","@tiptap/react":"^3.22.5","tiptap-markdown":"^0.9.0","@tailwindcss/cli":"^4.3.0","@types/react-dom":"^19.2.3","@tailwindcss/vite":"^4.2.4","typescript-eslint":"^8.58.2","@tiptap/suggestion":"^3.22.5","@tiptap/starter-kit":"^3.22.5","@vitejs/plugin-react":"^6.0.1","@tiptap/extension-link":"^3.22.5","@tiptap/extension-list":"^3.22.5","@tailwindcss/typography":"^0.5.19","@tiptap/extension-image":"^3.22.5","@tiptap/extension-table":"^3.22.5","eslint-plugin-react-hooks":"^7.1.1","@tiptap/extension-underline":"^3.22.5","eslint-plugin-react-refresh":"^0.5.2","@tiptap/extension-dropcursor":"^3.23.1","@tiptap/extension-typography":"^3.22.5","@tiptap/extension-placeholder":"^3.22.5","tiptap-extension-code-block-shiki":"^1.1.0"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","shiki":"^1.0.0 || ^2.0.0 || ^3.0.0 || ^4.0.0","react-dom":"^18.0.0 || ^19.0.0","@tiptap/pm":"^3.0.0","@tiptap/core":"^3.0.0","lucide-react":">=0.300.0","@tiptap/react":"^3.0.0","tiptap-markdown":"^0.8.0 || ^0.9.0","@tiptap/suggestion":"^3.0.0","@tiptap/starter-kit":"^3.0.0","@tiptap/extension-link":"^3.0.0","@tiptap/extension-list":"^3.0.0","@tiptap/extension-image":"^3.0.0","@tiptap/extension-table":"^3.0.0","@tiptap/extension-underline":"^3.0.0","@tiptap/extension-dropcursor":"^3.0.0","@tiptap/extension-typography":"^3.0.0","@tiptap/extension-placeholder":"^3.0.0","tiptap-extension-code-block-shiki":"^1.0.0"},"peerDependenciesMeta":{"shiki":{"optional":true},"tiptap-extension-code-block-shiki":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-tiptap-editor_1.6.1_1779365756619_0.01865173157449318","host":"s3://npm-registry-packages-npm-production"}},"1.6.2":{"name":"@caeher/react-tiptap-editor","version":"1.6.2","type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs","default":"./dist/index.js"},"./style":"./dist/index.css"},"repository":{"type":"git","url":"git+https://github.com/caeher/react-tiptap-editor.git"},"publishConfig":{"access":"public"},"engines":{"node":">=22"},"peerDependencies":{"@tiptap/core":"^3.0.0","@tiptap/extension-dropcursor":"^3.0.0","@tiptap/extension-image":"^3.0.0","@tiptap/extension-link":"^3.0.0","@tiptap/extension-list":"^3.0.0","@tiptap/extension-placeholder":"^3.0.0","@tiptap/extension-table":"^3.0.0","@tiptap/extension-typography":"^3.0.0","@tiptap/extension-underline":"^3.0.0","@tiptap/pm":"^3.0.0","@tiptap/react":"^3.0.0","@tiptap/starter-kit":"^3.0.0","@tiptap/suggestion":"^3.0.0","lucide-react":">=0.300.0","react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0","shiki":"^1.0.0 || ^2.0.0 || ^3.0.0 || ^4.0.0","tiptap-extension-code-block-shiki":"^1.0.0","tiptap-markdown":"^0.8.0 || ^0.9.0"},"peerDependenciesMeta":{"shiki":{"optional":true},"tiptap-extension-code-block-shiki":{"optional":true}},"devDependencies":{"@eslint/js":"^10.0.1","@tailwindcss/cli":"^4.3.0","@tailwindcss/typography":"^0.5.19","@tailwindcss/vite":"^4.2.4","@tiptap/core":"^3.22.5","@tiptap/extension-dropcursor":"^3.23.1","@tiptap/extension-image":"^3.22.5","@tiptap/extension-link":"^3.22.5","@tiptap/extension-list":"^3.22.5","@tiptap/extension-placeholder":"^3.22.5","@tiptap/extension-table":"^3.22.5","@tiptap/extension-typography":"^3.22.5","@tiptap/extension-underline":"^3.22.5","@tiptap/pm":"^3.22.5","@tiptap/react":"^3.22.5","@tiptap/starter-kit":"^3.22.5","@tiptap/suggestion":"^3.22.5","@types/node":"^25.6.2","@types/react":"^19.2.14","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^6.0.1","eslint":"^10.2.1","eslint-plugin-react-hooks":"^7.1.1","eslint-plugin-react-refresh":"^0.5.2","globals":"^17.5.0","lucide-react":"^1.14.0","react":"^19.2.5","react-dom":"^19.2.5","shiki":"^4.0.2","tailwindcss":"^4.2.4","tiptap-extension-code-block-shiki":"^1.1.0","tiptap-markdown":"^0.9.0","tsup":"^8.5.1","typescript":"~6.0.2","typescript-eslint":"^8.58.2","vite":"^8.0.11"},"scripts":{"dev":"vite playground","playground":"vite playground","build":"tsup && node -e \"require('fs').copyFileSync('src/components/editor/editor.css', 'dist/index.css')\"","build:playground":"vite build playground","preview":"vite preview playground","lint":"eslint ."},"_id":"@caeher/react-tiptap-editor@1.6.2","description":"A feature-rich, Tailwind CSS-styled React rich text editor built on top of Tiptap.","bugs":{"url":"https://github.com/caeher/react-tiptap-editor/issues"},"homepage":"https://github.com/caeher/react-tiptap-editor#readme","_integrity":"sha512-BwqILA8LrLdwK+19BHB5pN0H9Te5tiSD9WV44xG4UTkzL4KND3w2miTuXlKLfdhGNL4JGu5KU2RxKHFMBxE3ww==","_resolved":"/tmp/5158b89652aafe3ef7de264d8d721cc6/caeher-react-tiptap-editor-1.6.2.tgz","_from":"file:caeher-react-tiptap-editor-1.6.2.tgz","_nodeVersion":"22.22.3","_npmVersion":"10.9.8","dist":{"integrity":"sha512-BwqILA8LrLdwK+19BHB5pN0H9Te5tiSD9WV44xG4UTkzL4KND3w2miTuXlKLfdhGNL4JGu5KU2RxKHFMBxE3ww==","shasum":"900a84bc6d10eaf20284094ed31e60f89d4cfc01","tarball":"https://registry.npmjs.org/@caeher/react-tiptap-editor/-/react-tiptap-editor-1.6.2.tgz","fileCount":10,"unpackedSize":375637,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDUIscgceAVUZ0pO+KVmV+jRuP38ec9lrxLzG/vJU9ADQIgHg4mXAQmBxcDSJKGFgEx044ilgJMuaJHNPq7lUXwgDk="}]},"_npmUser":{"name":"caeher","email":"eh18010@ues.edu.sv"},"directories":{},"maintainers":[{"name":"caeher","email":"eh18010@ues.edu.sv"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-tiptap-editor_1.6.2_1779367723831_0.8745201158221492"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-03T01:26:19.016Z","modified":"2026-05-21T12:48:44.078Z","1.0.0":"2026-05-03T01:26:19.343Z","1.1.0":"2026-05-10T10:22:03.014Z","1.2.0":"2026-05-10T11:53:21.193Z","1.3.0":"2026-05-10T12:27:27.617Z","1.3.1":"2026-05-10T13:59:19.708Z","1.5.0":"2026-05-16T04:38:34.112Z","1.5.1":"2026-05-16T05:40:04.583Z","1.6.1":"2026-05-21T12:15:56.792Z","1.6.2":"2026-05-21T12:48:43.977Z"},"bugs":{"url":"https://github.com/caeher/react-tiptap-editor/issues"},"homepage":"https://github.com/caeher/react-tiptap-editor#readme","repository":{"type":"git","url":"git+https://github.com/caeher/react-tiptap-editor.git"},"description":"A feature-rich, Tailwind CSS-styled React rich text editor built on top of Tiptap.","maintainers":[{"name":"caeher","email":"eh18010@ues.edu.sv"}],"readme":"# @caeher/react-tiptap-editor\n\nA feature-rich, Tailwind CSS-styled React rich text editor built on top of Tiptap.\n\n## Features\n- Fully customizable and configurable\n- Built-in Tailwind CSS styling (supports v4.x)\n- Markdown output out of the box\n- Built-in toolbar, bubble menu, slash commands, and Shiki-powered code blocks\n- Read-only `ContentEditorPreview` for rendering saved markdown with the same stack as the editor\n\n## Installation\n\nInstall the package and its peer dependencies:\n\n```bash\nnpm install @caeher/react-tiptap-editor @tiptap/core @tiptap/react @tiptap/starter-kit @tiptap/pm\n```\n\n> [!NOTE]\n> The package ships **no bundled runtime dependencies**; everything runs through declared peer dependencies, which helps avoid version conflicts in apps like Next.js.\n\n### Peer Dependencies\n\nEnsure you have the following installed in your project:\n\n- `react` (v18 or v19)\n- `react-dom` (v18 or v19)\n- `@tiptap/core`\n- `@tiptap/react`\n- `@tiptap/starter-kit`\n- `@tiptap/pm`\n\n**Code blocks (syntax highlighting)** use [Shiki](https://shiki.style/) via `tiptap-extension-code-block-shiki`. If you leave `config.features.codeBlock` enabled (the default), install these as well:\n\n```bash\nnpm install shiki tiptap-extension-code-block-shiki tiptap-markdown\n```\n\nThe published `package.json` may mark `shiki` and `tiptap-extension-code-block-shiki` as optional peers, but they are **required whenever code blocks are enabled**.\n\nIf you encounter `ERESOLVE` warnings during installation, you can use the `--legacy-peer-deps` flag.\n\n### Tailwind Typography\n\nThis editor uses Tailwind CSS `prose` classes for styling. To ensure these styles are generated, you must have the `@tailwindcss/typography` plugin installed and configured in your project:\n\n```bash\nnpm install -D @tailwindcss/typography\n```\n\n## Configuring Tailwind CSS 4.x\n\nTo ensure the editor styles are properly applied in your project, you need to include the library's CSS. In Tailwind CSS v4, you can import the stylesheet directly into your global CSS file.\n\nAdd the following to your global `index.css` (or `app.css`):\n\n```css\n@import \"tailwindcss\";\n@import \"@caeher/react-tiptap-editor/dist/index.css\";\n\n/* Your custom styles */\n```\n\nOr, if your project uses a `tailwind.config.js` or `tailwind.config.ts` (if you maintain a v4 config file structure or use the Vite plugin), make sure to include the paths to the library components so Tailwind can scan them:\n\n```ts\nexport default {\n  content: [\n    \"./index.html\",\n    \"./src/**/*.{js,ts,jsx,tsx}\",\n    // Add the library to your content paths\n    \"./node_modules/@caeher/react-tiptap-editor/dist/**/*.{js,ts,jsx,tsx}\"\n  ],\n  // ...\n}\n```\n\n## Syntax highlighting (Shiki)\n\nFenced markdown with a language id becomes a code block with Shiki highlighting, for example:\n\n````markdown\n```js\nconst x = 1;\n```\n````\n\nSet `config.features.codeBlock` to `false` to disable code blocks in both the editor and `ContentEditorPreview`.\n\nIn the full **Editor**, each block can also get its own Shiki theme from the code-block toolbar. That per-block `theme` is stored in the serialized markdown when present.\n\nIn **`ContentEditorPreview`**, there is no toolbar: the Shiki `defaultTheme` follows `config.theme`:\n\n| `config.theme` | Shiki default theme |\n|----------------|---------------------|\n| `light` | `github-light` |\n| `dark` | `material-theme-darker` |\n| `system` or omitted | `material-theme-darker` |\n\nThe preview does not read `prefers-color-scheme` for `system`. For a preview that tracks OS dark mode, resolve light vs dark in your app and pass `config={{ theme: 'light' | 'dark' }}` explicitly.\n\nPer-block theme from the editor still wins when it is stored on the node.\n\n## Basic Usage\n\nHere is a quick example of how to use the `Editor` component in your React application:\n\n```tsx\nimport { useState } from 'react';\nimport { Editor } from '@caeher/react-tiptap-editor';\nimport '@caeher/react-tiptap-editor/dist/index.css'; // You can also import the CSS directly in your entry file\n\nfunction App() {\n  // Note: the editor outputs markdown by default\n  const [content, setContent] = useState('# Hello World!\\nStart typing...');\n\n  return (\n    <div className=\"max-w-4xl mx-auto mt-10\">\n      <Editor\n        content={content}\n        onChange={(markdown) => setContent(markdown)}\n        placeholder=\"Write something amazing...\"\n      />\n    </div>\n  );\n}\n\nexport default App;\n```\n\n## Content preview (read-only)\n\nUse `ContentEditorPreview` to render the same markdown the editor produces, without toolbar, bubble menu, or slash commands. Shiki highlighting applies when code blocks are enabled and peers are installed.\n\n```tsx\nimport { useState } from 'react';\nimport { Editor, ContentEditorPreview } from '@caeher/react-tiptap-editor';\nimport '@caeher/react-tiptap-editor/dist/index.css';\n\nfunction App() {\n  const [content, setContent] = useState('# Title\\n\\n```ts\\nconst ok = true;\\n```');\n\n  return (\n    <div className=\"grid max-w-5xl gap-6 md:grid-cols-2\">\n      <Editor content={content} onChange={setContent} config={{ theme: 'dark' }} />\n      <ContentEditorPreview content={content} config={{ theme: 'dark' }} />\n    </div>\n  );\n}\n```\n\n## Props Reference\n\n### `<Editor />`\n\n| Prop | Type | Default | Description |\n|---|---|---|---|\n| `content` | `string` | `''` | Initial markdown content of the editor. |\n| `onChange` | `(markdown: string) => void` | `undefined` | Callback fired when the content changes, returning markdown. |\n| `placeholder` | `string` | `undefined` | Placeholder text when the editor is empty. |\n| `editable` | `boolean` | `true` | Whether the editor is read-only or not. |\n| `className` | `string` | `''` | Additional CSS classes for the editor container. |\n| `config` | `Partial<EditorConfig>` | `{}` | Advanced configuration for features and images. |\n\n### `<ContentEditorPreview />`\n\n| Prop | Type | Default | Description |\n|---|---|---|---|\n| `content` | `string` | `''` | Markdown source to render. |\n| `className` | `string` | `''` | Additional CSS classes for the outer container. |\n| `config` | `Partial<EditorConfig>` | `{}` | Same shape as for `Editor` (features, image, `theme`). Slash commands are always off in preview. |\n\n## Contributing\n\nWe welcome contributions to `@caeher/react-tiptap-editor`! Follow these steps to set up the project locally:\n\n1. **Fork the repository**\n   Go to the [repository page](https://github.com/caeher/react-tiptap-editor) and click the \"Fork\" button.\n\n2. **Clone your fork**\n   ```bash\n   git clone https://github.com/YOUR_USERNAME/react-tiptap-editor.git\n   cd react-tiptap-editor\n   ```\n\n3. **Install dependencies**\n   ```bash\n   npm install\n   ```\n\n4. **Make your changes**\n   - The editor components are located in `src/components/editor`.\n   - Make sure your code follows the existing style.\n   - Run `npm run lint` to check for formatting or linting errors.\n\n5. **Submit a Pull Request**\n   - Commit your changes with descriptive messages.\n   - Push to your fork and submit a PR to the `main` branch of the original repository.\n","readmeFilename":"README.md"}