{"id":17101168,"url":"https://github.com/doabit/baidu_ueditor_rails","last_synced_at":"2025-07-27T07:34:05.011Z","repository":{"id":8514213,"uuid":"10126987","full_name":"doabit/baidu_ueditor_rails","owner":"doabit","description":"Baidu ueditor for rails","archived":false,"fork":false,"pushed_at":"2019-11-25T09:09:33.000Z","size":4138,"stargazers_count":3,"open_issues_count":0,"forks_count":9,"subscribers_count":1,"default_branch":"0.2.0","last_synced_at":"2025-06-29T16:43:07.872Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/doabit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-05-17T16:00:01.000Z","updated_at":"2019-11-25T09:09:19.000Z","dependencies_parsed_at":"2022-09-10T09:52:22.922Z","dependency_job_id":null,"html_url":"https://github.com/doabit/baidu_ueditor_rails","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/doabit/baidu_ueditor_rails","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doabit%2Fbaidu_ueditor_rails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doabit%2Fbaidu_ueditor_rails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doabit%2Fbaidu_ueditor_rails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doabit%2Fbaidu_ueditor_rails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doabit","download_url":"https://codeload.github.com/doabit/baidu_ueditor_rails/tar.gz/refs/heads/0.2.0","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doabit%2Fbaidu_ueditor_rails/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267324369,"owners_count":24069384,"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","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"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-10-14T15:24:08.823Z","updated_at":"2025-07-27T07:34:04.968Z","avatar_url":"https://github.com/doabit.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Baidu ueditor for rails\n\n[baidu ueditor][1] for rails, precompile codes from [tinymce-rails][2]\n\n  [1]: http://ueditor.baidu.com/website/\n  [2]: https://github.com/spohlenz/tinymce-rails\n\n### Notice: The project is unreleased.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'baidu_ueditor_rails5', github: 'doabit/baidu_ueditor_rails'\n\nAnd then execute:\n\n    $ bundle\n\n\n## Generating custom config js\n\nUsage:\n\n\n    rails g baidu_ueditor_rails:install\n\n\nThen add codes in application.js\n\n\n```ruby\n//= require baidu_ueditor\n//= require ueditor_custom_config\n```\n\nconfig `routes.rb`\n\n```ruby\n  mount BaiduUeditorRails::Engine =\u003e \"/ueditor\"\n```\n\n## Custom config\n\nIn ueditor_custom_config.js, it looks like:\n\n```ruby\n//ueditor custom config\n(function () {\n    window.CUSTOM_CONFIG = {\n      // Insert your config code\n      // toolbars: [\n      //      ['Source','Undo','Redo','Cleardoc','SearchReplace','InsertImage','WordImage','Bold','ForeColor','JustifyLeft',\n      //      'JustifyCenter','JustifyRight','JustifyJustify','RemoveFormat','FormatMatch','AutoTypeSet','PastePlain',\n      //      'FontSize','Preview','Link','FullScreen', 'PageBreak', 'InsertTable','Attachment','InsertVideo']\n      // ],\n      serverUrl: '/ueditor',\n      imageManagerUrlPrefix: ''\n    };\n    jQuery.extend(window.UEDITOR_CONFIG, window.CUSTOM_CONFIG);\n})();\n```\n\nyou can write your custom config in\n\n```ruby\nwindow.CUSTOM_CONFIG = {\n  //.........\n};\n```\n\n## Views\n\n```javascript\n\u003cscript type=\"text/javascript\"\u003e\n  var editor = new UE.ui.Editor();\n  editor.render(\"your_textarea_id\");\n\u003c/script\u003e\n```\n\n## TODO\n\n1. Add upload image and file.\n2. Add form helpers.\n\n\n## Contributing\n\n1. Fork it\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 new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoabit%2Fbaidu_ueditor_rails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoabit%2Fbaidu_ueditor_rails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoabit%2Fbaidu_ueditor_rails/lists"}