{"id":20537872,"url":"https://github.com/aureleoules/mediumeditor-flatrgb","last_synced_at":"2026-06-10T07:31:16.559Z","repository":{"id":101684030,"uuid":"162601061","full_name":"aureleoules/MediumEditor-FlatRGB","owner":"aureleoules","description":"This is a MediumEditor extension. Add colors to your document!","archived":false,"fork":false,"pushed_at":"2018-12-20T16:01:39.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-06T03:45:53.082Z","etag":null,"topics":["extension","js","medium-editor"],"latest_commit_sha":null,"homepage":null,"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/aureleoules.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}},"created_at":"2018-12-20T15:57:23.000Z","updated_at":"2018-12-20T17:35:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"efee396e-1b60-440f-9e43-213a1e5cefde","html_url":"https://github.com/aureleoules/MediumEditor-FlatRGB","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aureleoules/MediumEditor-FlatRGB","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aureleoules%2FMediumEditor-FlatRGB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aureleoules%2FMediumEditor-FlatRGB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aureleoules%2FMediumEditor-FlatRGB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aureleoules%2FMediumEditor-FlatRGB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aureleoules","download_url":"https://codeload.github.com/aureleoules/MediumEditor-FlatRGB/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aureleoules%2FMediumEditor-FlatRGB/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34142637,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"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":["extension","js","medium-editor"],"created_at":"2024-11-16T00:43:08.704Z","updated_at":"2026-06-10T07:31:16.532Z","avatar_url":"https://github.com/aureleoules.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# medium-editor-flat-rgb\nAdd colors to your document\n\n# Documentation\n\n## `new FlatRGB(color)`\nCreates a new instance of a FlatRGB button.\n\n# How to use\n\n* Import `src/flatRGB.js` or `src/flatRGB.min.js`\n* Import `src/flatRGB.css`\n\n```js\nwindow.onload = function () {\n    const editor = new MediumEditor('.editor', {\n        toolbar: {\n            buttons: [\n                'bold',\n                'italic',\n                'underline',\n                'anchor', \n                'h2', \n                'h3', \n                'quote',\n                'customColorRed',\n                'customColorGreen',\n                'customColorBlue'\n            ],\n        },\n        extensions: {\n            \"customColorRed\": new window.FlatRGB(\"R\"),\n            \"customColorGreen\": new window.FlatRGB(\"G\"),\n            \"customColorBlue\": new window.FlatRGB(\"B\"),\n        }\n    });\n};\n```\n\n# License\nSee the [LICENSE](./LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faureleoules%2Fmediumeditor-flatrgb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faureleoules%2Fmediumeditor-flatrgb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faureleoules%2Fmediumeditor-flatrgb/lists"}