{"id":23821330,"url":"https://github.com/lofcz/tiptap-blazor","last_synced_at":"2026-04-09T08:15:50.752Z","repository":{"id":270163062,"uuid":"909413890","full_name":"lofcz/tiptap-blazor","owner":"lofcz","description":"Self-contained editor built with TipTap/React targeting Blazor","archived":false,"fork":false,"pushed_at":"2025-07-22T17:20:47.000Z","size":543,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-13T12:23:49.125Z","etag":null,"topics":["blazor","react","wysiwyg"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/lofcz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2024-12-28T16:23:52.000Z","updated_at":"2025-07-22T17:20:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"a5db90c1-cee3-4d1f-9cec-eb9b6452d51b","html_url":"https://github.com/lofcz/tiptap-blazor","commit_stats":null,"previous_names":["lofcz/tiptap-blazor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lofcz/tiptap-blazor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lofcz%2Ftiptap-blazor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lofcz%2Ftiptap-blazor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lofcz%2Ftiptap-blazor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lofcz%2Ftiptap-blazor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lofcz","download_url":"https://codeload.github.com/lofcz/tiptap-blazor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lofcz%2Ftiptap-blazor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":283997629,"owners_count":26929852,"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-11-12T02:00:06.336Z","response_time":59,"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":["blazor","react","wysiwyg"],"created_at":"2025-01-02T08:38:46.825Z","updated_at":"2025-11-12T08:02:40.542Z","avatar_url":"https://github.com/lofcz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TipTap Blazor\n\nThis is an opinionated editor built with [TipTap](https://github.com/ueberdosis/tiptap) and [React](https://github.com/facebook/react) bundled into a umd package consumable by Blazor (and other frameworks).\n\n## Getting Started\n\n```js\nnpm install\nnpm run build\n```\n\nThis produces following files in `dist` folder:\n- `react.production.min.js`\n- `react-dom.production.min.js`\n- `tiptap-island.umd.js`\n- `tiptap-island.css`\n\n*This library currently uses React 19 and a [custom](https://github.com/lofcz/tiptap-blazor/blob/master/rollup.config.react.js) process to build the UMD version, which is no longer done upstream.*\n\nUnless React is already available in `window`, import it via the first two files in whatever way your system supports. One would be to use the plain old `script` tags:\n\n```html\n\u003cscript src=\"react.production.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"react-dom.production.min.js\"\u003e\u003c/script\u003e\n```\n\nNext, import `tiptap-island.umd.js` and `tiptap-island.css`:\n\n```html\n\u003cscript src=\"tiptap-island.umd.js\"\u003e\u003c/script\u003e\n\u003clink rel=\"stylesheet\" href=\"tiptap-island.css\" /\u003e\n```\n\n*Note that while this is the simplest way, using some loader is recommended.*\n\nTo see the above in action, run: `npm run test`.\n\n## Creating an editor\n\nTiptap Blazor sets `window.TipTapIsland` to a function that can be called to construct an editor instance:\n\n```js\nlet editor = window[\"TipTapIsland\"].create(pars.id, {\n    content: \"hello \u003cem\u003eworld\u003c/em\u003e,\n    onUpdate: (html) =\u003e {\n        console.log(html);\n    }\n});\n```\n\n## API\n\nThe following methods are available on the editor:\n\n| Method | Description |\n|--------|-------------|\n| `getContent()` | Returns content of the editor |\n| `setContent(html)` | Sets content of the editor |\n| `destroy()` | Removes editor and associated events |\n| `setEditable(editable)` | Enables/disables input |\n| `isEditable` | Returns whether input is enabled |\n\n## Development\n\nStart Vite environment by running `npm run dev`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flofcz%2Ftiptap-blazor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flofcz%2Ftiptap-blazor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flofcz%2Ftiptap-blazor/lists"}