{"id":22314373,"url":"https://github.com/undercloud/edito","last_synced_at":"2025-03-26T02:46:02.816Z","repository":{"id":57219589,"uuid":"114255560","full_name":"undercloud/edito","owner":"undercloud","description":"Web-based code editor","archived":false,"fork":false,"pushed_at":"2019-04-02T16:13:42.000Z","size":211,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-08T23:35:29.424Z","etag":null,"topics":["code-editor","edito","highlight-js","hightlight","syntax-highlighting"],"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/undercloud.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}},"created_at":"2017-12-14T13:45:18.000Z","updated_at":"2019-04-02T16:13:44.000Z","dependencies_parsed_at":"2022-08-29T00:11:37.839Z","dependency_job_id":null,"html_url":"https://github.com/undercloud/edito","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/undercloud%2Fedito","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/undercloud%2Fedito/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/undercloud%2Fedito/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/undercloud%2Fedito/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/undercloud","download_url":"https://codeload.github.com/undercloud/edito/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245579582,"owners_count":20638676,"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","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":["code-editor","edito","highlight-js","hightlight","syntax-highlighting"],"created_at":"2024-12-03T22:09:52.976Z","updated_at":"2025-03-26T02:46:02.796Z","avatar_url":"https://github.com/undercloud.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Edito\nWeb-based code editor\n\n![Alt text](https://github.com/undercloud/edito/blob/master/promo.png?raw=true)\n\n## Installation\n`npm install edito`\n\n## Usage\n```js\nvar jse = new Edito({\n    mount: '#js-editor',\n    syntax: 'js'\n})\n```\nSee `sandbox/index.html` for example\n\n## Options\n* mount - (string) dom selector\n* syntax - (string) e.g. 'js'\n* spellcheck - (boolean) default false\n* tabSize - (integer) tab size, default 4\n* usingSpaces - (boolean) using spaces instead of tabs, default false\n* theme - (string) set to 'dark', if need dark theme\n\n## Methods\n* gotoLine(line) - move cursor to selected line\n* highlightErrorLine(line) - set error code line\n* clearErrorLine() - unset error highlight\n* setValue(value) - set editor value\n* getValue() - get editor value\n* readonly(flag) - set read only mode\n* getEditor() - get dom editor\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fundercloud%2Fedito","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fundercloud%2Fedito","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fundercloud%2Fedito/lists"}