{"id":23152714,"url":"https://github.com/frerich/trix_editor_component","last_synced_at":"2025-04-04T15:41:17.229Z","repository":{"id":139399787,"uuid":"603076499","full_name":"frerich/trix_editor_component","owner":"frerich","description":"Phoenix LiveView Component for the Trix rich-text editor","archived":false,"fork":false,"pushed_at":"2023-02-17T15:25:35.000Z","size":304,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-10T01:30:33.676Z","etag":null,"topics":["elixir","elixir-lang","liveview","phoenix-framework"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/frerich.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":"2023-02-17T15:12:51.000Z","updated_at":"2024-11-09T06:55:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"bd6845aa-bbd7-4849-8b08-0c73f7c6e0f5","html_url":"https://github.com/frerich/trix_editor_component","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/frerich%2Ftrix_editor_component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frerich%2Ftrix_editor_component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frerich%2Ftrix_editor_component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frerich%2Ftrix_editor_component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frerich","download_url":"https://codeload.github.com/frerich/trix_editor_component/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247207361,"owners_count":20901566,"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":["elixir","elixir-lang","liveview","phoenix-framework"],"created_at":"2024-12-17T19:18:25.238Z","updated_at":"2025-04-04T15:41:17.223Z","avatar_url":"https://github.com/frerich.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `trix_editor_component`\n\n## Introduction\n\nThis library provides a LiveView component offering a full-featured rich text editor based on the [Trix](https://trix-editor.org/) editor.\n\n## Installation\n\n1. Add `trix_editor_component` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:trix_editor_component, \"~\u003e 0.1\"}\n  ]\nend\n```\n\n2. Include required JavaScript logic into your application by adding the following line to the `app.js` script of your Phoenix project:\n```javascript\nimport \"trix_editor_component\"\n```\n\n3. In your templates, start using any of the offered LiveView components, e.g.\n```elixir\n[..]\n\u003c.form for={@form} phx-change=\"validate\" phx-submit=\"save\"\u003e\n  \u003c.input type=\"name\" field={@form[:name]} /\u003e\n  \u003c.input type=\"food\" field={@form[:food]} /\u003e\n  \u003c.trix_editor field={@form[:notes]} placeholder=\"Notes...\"/\u003e\n  \u003cbutton\u003eSave\u003c/button\u003e\n\u003c/.form\u003e\n[..]\n```\n\n## Credits\n\nThis library was written by [Frerich Raabe](mailto:frerich.raabe@gmail.com),\nhowever it is really just standing on the shoulders of giants:\n\n* [Phoenix LiveView](https://github.com/phoenixframework/phoenix_live_view) is what enables the interactivity\n* [Trix](https://trix-editor.org/) provides the frontend terminal component\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrerich%2Ftrix_editor_component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrerich%2Ftrix_editor_component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrerich%2Ftrix_editor_component/lists"}