{"id":14990177,"url":"https://github.com/zedix/prose-editor-element","last_synced_at":"2025-09-14T04:15:49.299Z","repository":{"id":192224938,"uuid":"684206164","full_name":"zedix/prose-editor-element","owner":"zedix","description":"Prose Editor is a web component wrapping TipTap 2.","archived":false,"fork":false,"pushed_at":"2024-04-07T21:53:54.000Z","size":1117,"stargazers_count":10,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-19T10:37:51.968Z","etag":null,"topics":["custom-elements","lit","rich-text-editor","tiptap","webcomponent","wysiwyg-editor"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zedix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-28T17:05:21.000Z","updated_at":"2024-12-25T06:21:28.000Z","dependencies_parsed_at":"2024-04-07T22:43:15.840Z","dependency_job_id":null,"html_url":"https://github.com/zedix/prose-editor-element","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"899b052b035c606e10f2131cc7d82ff2d6efc96b"},"previous_names":["zedix/prose-editor-element"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zedix/prose-editor-element","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zedix%2Fprose-editor-element","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zedix%2Fprose-editor-element/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zedix%2Fprose-editor-element/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zedix%2Fprose-editor-element/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zedix","download_url":"https://codeload.github.com/zedix/prose-editor-element/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zedix%2Fprose-editor-element/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275059602,"owners_count":25398366,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["custom-elements","lit","rich-text-editor","tiptap","webcomponent","wysiwyg-editor"],"created_at":"2024-09-24T14:19:39.715Z","updated_at":"2025-09-14T04:15:49.258Z","avatar_url":"https://github.com/zedix.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prose Editor\n\n![version](https://img.shields.io/github/package-json/v/zedix/prose-editor-element.svg?maxAge=60) [![lit](https://img.shields.io/badge/lib-lit-blue.svg?maxAge=60)](https://github.com/lit/lit/)\n\nProse Editor is a web component wrapping [TipTap 2](https://www.tiptap.dev/).\n\n![image](https://github.com/zedix/prose-editor-element/assets/27975/e1fd0d1e-38a4-4de7-9ef9-35ea3a9fa491)\n\n## Demo\n\n[Demo ↗](https://zedix-prose-editor-element.netlify.app)\n\n## Installation\n\n```\n❯ yarn add @zedix/prose-editor-element\n```\n\n## Usage\n\nThis above global stylesheet is needed because ProseEditor must be in the light DOM (instead of the shadow tree) until these bugs are resolved:\n\n- [Firefox #1496769](https://bugzilla.mozilla.org/show_bug.cgi?id=1496769)\n- [WebKit #163921](https://bugs.webkit.org/show_bug.cgi?id=163921)\n\n```css\n@import '@zedix/prose-editor/dist/prose-editor.css';\n```\n\n```html\n\u003cscript src=\"https://cdn.tailwindcss.com?plugins=typography\"\u003e\u003c/script\u003e\n\u003cscript type=\"module\" src=\"/dist/prose-editor.js\"\u003e\u003c/script\u003e\n\n\u003czx-prose-editor\n  editor-class=\"prose min-h-[20rem] focus:outline-none\"\n  placeholder=\"Note…\"\n  initial-html=\"\u003cp\u003eHello Editor\u003c/p\u003e\"\n  toolbar-placement=\"bottom\"\n\u003e\u003c/zx-prose-editor\u003e\n\n\u003cscript\u003e\n  document.addEventListener('DOMContentLoaded', function () {\n    document\n      .querySelector('zx-prose-editor')\n      .addEventListener('change', function (event) {\n        console.log('HTML', event.detail.html);\n        console.log('JSON', event.detail.json);\n      });\n  });\n\u003c/script\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzedix%2Fprose-editor-element","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzedix%2Fprose-editor-element","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzedix%2Fprose-editor-element/lists"}