{"id":19474580,"url":"https://github.com/tomasc/simple_form_epic_editor","last_synced_at":"2026-06-16T15:31:42.976Z","repository":{"id":18614795,"uuid":"21820297","full_name":"tomasc/simple_form_epic_editor","owner":"tomasc","description":"Integrates the markdown editor EpicEditor with Rails and Simple Form.","archived":false,"fork":false,"pushed_at":"2015-09-05T08:39:42.000Z","size":199,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-26T19:45:08.548Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/tomasc.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":"2014-07-14T13:24:28.000Z","updated_at":"2014-12-31T06:19:43.000Z","dependencies_parsed_at":"2022-08-20T16:00:06.710Z","dependency_job_id":null,"html_url":"https://github.com/tomasc/simple_form_epic_editor","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/tomasc/simple_form_epic_editor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasc%2Fsimple_form_epic_editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasc%2Fsimple_form_epic_editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasc%2Fsimple_form_epic_editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasc%2Fsimple_form_epic_editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomasc","download_url":"https://codeload.github.com/tomasc/simple_form_epic_editor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasc%2Fsimple_form_epic_editor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34412786,"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-16T02:00:06.860Z","response_time":126,"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":[],"created_at":"2024-11-10T19:25:43.637Z","updated_at":"2026-06-16T15:31:42.960Z","avatar_url":"https://github.com/tomasc.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Form Epic Editor\n\n[![Gem Version](https://badge.fury.io/rb/simple_form_epic_editor.svg)](http://badge.fury.io/rb/simple_form_epic_editor)\n\nIntegrates the markdown editor [Epic Editor](https://github.com/OscarGodson/EpicEditor) with Rails and [Simple Form](https://github.com/plataformatec/simple_form).\n\nThis gem adjusts the default theme of [Epic Editor](https://github.com/OscarGodson/EpicEditor) and places the toolbar above the editing field.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'simple_form_epic_editor'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install simple_form_epic_editor\n\nTo make it work you need to require the javascripts in `application.js`:\n\n    //= require simple_form_epic_editor\n\n## Usage\n\nUse in forms:\n\n    = form.input :body, as: :epic_editor\n\n## Styling\n\nStyling for the editor is separated into three files:\n\n* base.css\n* preview.css\n* editor.css\n\nThe default styling can be overridden by adding your own version of any or all of the three files in `lib/assets/stylesheets/simple_form_epic_editor/default_theme/`\n\nAlternatively you can configure the editor to use another [theme](#theme).\n\n## Configuration\n\n### Toolbar\n\nYou can change the default button texts in an initializer:\n\n```Ruby\n# config/initializers/simple_form_epic_editor.rb\n\nSimpleFormEpicEditor::EpicEditorInput.configure do |c|\n  c.commands = [\n    @commands = {\n      edit: 'Edit',\n      preview: 'Render'\n    }\n  ]\nend\n```\n\n### Theme\n\nIn the initializer you can assign any or all of the three stylesheets a new path:\n\n```Ruby\n# config/initializers/simple_form_epic_editor.rb\n\nSimpleFormEpicEditor::EpicEditorInput.configure do |c|\n  c.theme = {\n    base: '/simple_form_epic_editor/your_theme_name/base.css',\n    preview: '/simple_form_epic_editor/your_theme_name/preview.css',\n    editor: '/simple_form_epic_editor/your_theme_name/editor.css'\n  }\nend\n```\n\n## Contributing\n\n1. Fork it ( https://github.com/tomasc/simple_form_epic_editor/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomasc%2Fsimple_form_epic_editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomasc%2Fsimple_form_epic_editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomasc%2Fsimple_form_epic_editor/lists"}