{"id":28098022,"url":"https://github.com/joepdooper/mini-editor","last_synced_at":"2026-04-02T13:32:35.929Z","repository":{"id":292524027,"uuid":"981164915","full_name":"joepdooper/mini-editor","owner":"joepdooper","description":"A lightweight, dependency-free WYSIWYG editor implemented in vanilla JavaScript.","archived":false,"fork":false,"pushed_at":"2026-03-25T21:33:50.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-26T19:42:53.689Z","etag":null,"topics":[],"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/joepdooper.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-10T13:41:37.000Z","updated_at":"2026-03-25T21:31:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"b53eb76a-cc80-4967-be6c-c207d601cf1e","html_url":"https://github.com/joepdooper/mini-editor","commit_stats":null,"previous_names":["joepdooper/mini-editor"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/joepdooper/mini-editor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joepdooper%2Fmini-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joepdooper%2Fmini-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joepdooper%2Fmini-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joepdooper%2Fmini-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joepdooper","download_url":"https://codeload.github.com/joepdooper/mini-editor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joepdooper%2Fmini-editor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31307136,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"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":[],"created_at":"2025-05-13T17:47:30.920Z","updated_at":"2026-04-02T13:32:35.923Z","avatar_url":"https://github.com/joepdooper.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MiniEditor\n\nA lightweight, dependency-free WYSIWYG editor implemented in vanilla JavaScript.\n\n### Install:\n\n```bash\nnpm install @joepdooper/mini-editor\n```\n\n### Features:\n\n- Inline content editing with a floating formatting toolbar\n- Supports bold, italic, underline, headings, blockquotes, and links\n- Automatically positions toolbar based on text selection\n- Handles plain text pasting to prevent unwanted formatting\n- Syncs editable content with hidden inputs for form submission\n\n```html\n\u003cdiv class=\"editor-block\" contenteditable=\"true\" data-id=\"1\"\u003e\u003c/div\u003e\n\u003cinput type=\"hidden\" id=\"input_1\" name=\"content_1\"\u003e\n\n\u003cdiv class=\"editor-block\" contenteditable=\"true\" data-id=\"2\"\u003e\u003c/div\u003e\n\u003cinput type=\"hidden\" id=\"input_2\" name=\"content_2\"\u003e\n\n\u003cdiv id=\"toolbar\" style=\"display: none;\"\u003e\n    \u003cbutton title=\"Bold\" data-cmd=\"bold\"\u003eBold\u003c/button\u003e\n    \u003cbutton title=\"Italic\" data-cmd=\"italic\"\u003eItalic\u003c/button\u003e\n    \u003cbutton title=\"Underline\" data-cmd=\"underline\"\u003eUnderline\u003c/button\u003e\n    \u003cbutton title=\"Link\" data-cmd=\"link\"\u003eLink\u003c/button\u003e\n\u003c/div\u003e\n```\n\n```javascript\ndocument.addEventListener('DOMContentLoaded', () =\u003e {\n    MiniEditor.initAll('.editor-block', '#toolbar');\n});\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoepdooper%2Fmini-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoepdooper%2Fmini-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoepdooper%2Fmini-editor/lists"}