{"id":16121875,"url":"https://github.com/sacripant/tom_write_editor","last_synced_at":"2025-03-18T11:30:38.140Z","repository":{"id":7374598,"uuid":"8701249","full_name":"Sacripant/tom_write_editor","owner":"Sacripant","description":"Ace Editor for Textpattern write tab","archived":false,"fork":false,"pushed_at":"2017-12-12T14:19:37.000Z","size":2385,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-12T02:38:51.029Z","etag":null,"topics":["ace-editor","distraction-free","textpattern","textpattern-cms-plugin","textpattern-plugin"],"latest_commit_sha":null,"homepage":null,"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/Sacripant.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}},"created_at":"2013-03-11T10:34:05.000Z","updated_at":"2019-11-20T15:52:16.000Z","dependencies_parsed_at":"2022-08-20T13:50:34.483Z","dependency_job_id":null,"html_url":"https://github.com/Sacripant/tom_write_editor","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sacripant%2Ftom_write_editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sacripant%2Ftom_write_editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sacripant%2Ftom_write_editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sacripant%2Ftom_write_editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sacripant","download_url":"https://codeload.github.com/Sacripant/tom_write_editor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243925491,"owners_count":20369906,"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":["ace-editor","distraction-free","textpattern","textpattern-cms-plugin","textpattern-plugin"],"created_at":"2024-10-09T21:08:34.313Z","updated_at":"2025-03-18T11:30:37.224Z","avatar_url":"https://github.com/Sacripant.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tom Write Editor\n\nTom Write Editor is a texpattern plugin that adds a distraction free writing environment for the Textpattern write tab with some advanced features. It's an editor for geek writers!\n\n## Install\n\n1. Copy the `tom-WE` folder directly in the `textpattern` folder.\n2. Install and activate the `tom_write_editor_v*.txt` plugin from the Textpattern plugin tab.\n\n## Usage\n\nFor a new article, the best practice is to enter _Title_ and _Sort and display_ informations (section + category) of the article, select Draft as Status and Save.\n\nClick on the button available nearby the _Body_ label to open the editor and start writing.\n\n### Basic Ace editor features\n\nTom-WE uses Ace Editor (a Javascript Editor), synchronized with the body textarea. Ace editor offers some additional features to textarea such as:\n\n* Tabs / indent.\n* Simple textile syntaxic coloration.\n* Duplicate / move lines or part of text.\n* Find / replace\n* Macros\n* Snippets\n* etc.\n\n### Some specifics features for Textpattern\n\n* Display directly from editor Article/images/files/links tab via keyboard shortcuts or buttons in a right panel.\n* Insert a code snippet to editor via drag \u0026 drop from an opened Article/images/files/links tab\n* Add custom Snippets.\n* Save your article with `ctrl-S` `command-s`\n* See a live preview of your article (the preview is automatically refreshed when you save).\n\n### Change Editor prefs\n\nEditor preferences are stored in a `prefs-default` json file. Please don't change this file. You risk to loose your changes after updated this plugin. A blank `prefs-user` json file is dedicated to fit your needs.\n\nJust copy-paste preferences object you want to change and upadate values.\n\n#### Example\n\nYou use _rah_knots_ plugin that already add a keyboard shortcuts to save your article. Just overwrite Editor save shortcut using `false` in the `prefs-user` file\n\n\t{\n  \t\t\"bindKey\" : {\n    \t\t\"save\" : false\n  \t\t}\n\t}\n\n### Add custom snippets\n\nAce editor comes with some snippets. But you can add custom snippets in the `additional-snippets` json file.\n\n#### Example\n\n\t[\n\t\t{\n\t\t\t\"name\" : \"txp_img\",\n\t\t\t\"tabTrigger\" : \"timg\",\n\t\t\t\"content\" : \"\u003ctxp:image id='${1:id}' /\u003e\"\n\t\t}\n\t]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsacripant%2Ftom_write_editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsacripant%2Ftom_write_editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsacripant%2Ftom_write_editor/lists"}