{"id":18982511,"url":"https://github.com/kid-1912/tiptap-extension-float","last_synced_at":"2026-02-05T04:33:27.200Z","repository":{"id":220252569,"uuid":"751158078","full_name":"KID-1912/tiptap-extension-float","owner":"KID-1912","description":"An extension to add float to your tiptap content.","archived":false,"fork":false,"pushed_at":"2025-01-04T17:13:31.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-20T05:51:10.607Z","etag":null,"topics":["align","extension","float","tiptap"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KID-1912.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":"2024-02-01T03:23:35.000Z","updated_at":"2025-01-04T17:13:34.000Z","dependencies_parsed_at":"2024-02-01T04:29:29.461Z","dependency_job_id":"44f19048-04de-4535-8285-aed4bf9261d3","html_url":"https://github.com/KID-1912/tiptap-extension-float","commit_stats":null,"previous_names":["kid-1912/tiptap-extension-float"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KID-1912/tiptap-extension-float","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KID-1912%2Ftiptap-extension-float","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KID-1912%2Ftiptap-extension-float/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KID-1912%2Ftiptap-extension-float/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KID-1912%2Ftiptap-extension-float/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KID-1912","download_url":"https://codeload.github.com/KID-1912/tiptap-extension-float/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KID-1912%2Ftiptap-extension-float/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29111894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T03:44:17.043Z","status":"ssl_error","status_checked_at":"2026-02-05T03:44:12.077Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["align","extension","float","tiptap"],"created_at":"2024-11-08T16:13:48.931Z","updated_at":"2026-02-05T04:33:27.184Z","avatar_url":"https://github.com/KID-1912.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tiptap-extension-float\n\n\u003ch3 align=\"center\"\u003e\n    An extension to add float to your tiptap content.\n\u003c/h3\u003e\n\n\u003cbr/\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/tiptap-extension-float\"\u003e\n    \u003cimg\n     alt=\"NPM URL\"\n     src=\"https://img.shields.io/badge/npm-tiptapExtensionFloat?logo=npm\"\u003e\n  \u003c/a\u003e\n  \u003cimg\n     alt=\"version\"\n     src=\"https://img.shields.io/badge/version-1.0.0-blue\"\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n---\n\n## Install\n\n```shell\nnpm install tiptap-extension-float -S\n```\n\n## Usage\n\n```js\nimport Float from \"tiptap-extension-float\";\n\nconst editor = new Editor({\n  element: document.querySelector(\".editor\"),\n  extensions: [StarterKit, Image.configure({ inline: true }), Float],\n});\n\neditor.chain().focus().updateAttributes(\"image\", { float: \"left\" }).run();\n// default: cancel float style\neditor.chain().focus().updateAttributes(\"image\", { float: \"default\" }).run();\n```\n\n## Options\n\nYou can configure extension options, which are optional.\n\n```js\n  extensions: [\n    StarterKit,\n    Image.configure({ inline: true }),\n    Float.configure({\n      types: [\"image\"], // Allow float node types\n    }),\n  ],\n```\n\n## Relations\n\n**tiptap/extension-text-align:** https://github.com/ueberdosis/tiptap/tree/main/packages/extension-text-align\n\n**tiptap-appmsg-editor:** https://github.com/KID-1912/tiptap-appmsg-editor\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkid-1912%2Ftiptap-extension-float","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkid-1912%2Ftiptap-extension-float","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkid-1912%2Ftiptap-extension-float/lists"}