{"id":15051345,"url":"https://github.com/nextcloud/files_texteditor","last_synced_at":"2025-04-05T07:01:50.776Z","repository":{"id":9948494,"uuid":"63820005","full_name":"nextcloud/files_texteditor","owner":"nextcloud","description":":page_facing_up: Text editor for plaintext files","archived":false,"fork":false,"pushed_at":"2025-03-29T02:07:25.000Z","size":14166,"stargazers_count":73,"open_issues_count":80,"forks_count":42,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-29T06:04:14.211Z","etag":null,"topics":["nextcloud","texteditor"],"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/nextcloud.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/contributing.md","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":"2016-07-20T22:52:39.000Z","updated_at":"2025-03-27T00:57:15.000Z","dependencies_parsed_at":"2023-02-18T13:00:56.716Z","dependency_job_id":"529c8b7d-2b41-4bce-aa48-1d2ee77b9e09","html_url":"https://github.com/nextcloud/files_texteditor","commit_stats":{"total_commits":1446,"total_committers":62,"mean_commits":"23.322580645161292","dds":0.7074688796680497,"last_synced_commit":"30302ecb29b991ee3a8e8684bd161dcde1a40d5a"},"previous_names":[],"tags_count":302,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextcloud%2Ffiles_texteditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextcloud%2Ffiles_texteditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextcloud%2Ffiles_texteditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextcloud%2Ffiles_texteditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nextcloud","download_url":"https://codeload.github.com/nextcloud/files_texteditor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247299829,"owners_count":20916190,"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":["nextcloud","texteditor"],"created_at":"2024-09-24T21:33:43.133Z","updated_at":"2025-04-05T07:01:50.732Z","avatar_url":"https://github.com/nextcloud.png","language":"JavaScript","readme":"# Texteditor\n\n[![Build Status](https://travis-ci.org/nextcloud/files_texteditor.svg?branch=master)](https://travis-ci.org/nextcloud/files_texteditor)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/nextcloud/files_texteditor/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/nextcloud/files_texteditor/?branch=master)\n[![Code Coverage](https://scrutinizer-ci.com/g/nextcloud/files_texteditor/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/nextcloud/files_texteditor/?branch=master)\n\n\nThe original text editor app for Nextcloud, based on [Ace](http://ace.c9.io/).\n\nFeatures:\n - Syntax highlighting\n - Autosave\n - Syntax checking\n - Responsive design (optimised on mobile and desktop)\n\n## Install\nSimply copy the `files_texteditor` folder into the `apps` directory and enable the app within the Nextcloud settings.\n\n## Usage\nTo use the editer, click on a [supported file](https://github.com/nextcloud/files_texteditor/blob/master/js/supported_mimetypes.json) within the Files app and the file will be loaded into the editor. Saving is automatic, but can also be triggered manually with `Ctrl+S` or `Cmd+S`.\n\n## Contributors\nMaintainer: [Robin Appelman](http://github.com/icewind1991)\nPast contributors: [Thomas Müller](http://github.com/deepdiver1975) [Tom Needham](http://github.com/tomneedham) [Jörn Friedrich Dreyer](http://github.com/butonic) [Vincent Petry](http://github.com/pvince)\n\n\nPreview apps\n------------\n\nApps can add side-by-side previews to the app for certain file types by using the preview api\n\n```js\n\nOCA.MYApp.Preview = function(){\n    ...\n}\n\nOCA.MYApp.Preview.Prototype = {\n    /**\n     * Give the app the opportunity to load any resources it needs and prepare for rendering a preview\n     */\n    init: function() {\n        ...\n    },\n    /**\n     * @param {string} the text to create the preview for\n     * @param {jQuery} the jQuery element to render the preview in\n     */\n    preview: function(text, previewElement) {\n        ...\n    }\n}\n\nOCA.Files_Texteditor.registerPreviewPlugin('text/markdown', new OCA.MYApp.Preview());\n\n```\n\nFor styling of the preview, the preview element will have the id `preview` and the className will be set to the mimetype of the file being eddited with any slash replaced by dashes.\n\ne.g. when editing a markdown file the preview element can be styled using the `#preview.text-markdown` css query.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextcloud%2Ffiles_texteditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnextcloud%2Ffiles_texteditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextcloud%2Ffiles_texteditor/lists"}