{"id":17101164,"url":"https://github.com/doabit/kindeditor","last_synced_at":"2026-06-05T10:30:14.924Z","repository":{"id":56880117,"uuid":"865490","full_name":"doabit/kindeditor","owner":"doabit","description":"kindeditor for rails 3","archived":false,"fork":false,"pushed_at":"2010-09-16T10:45:09.000Z","size":6028,"stargazers_count":21,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-02T09:46:44.686Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://github.com/doabit/kinkdeditor","language":"JavaScript","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":"2010-08-27T02:56:07.000Z","updated_at":"2019-08-13T14:36:09.000Z","dependencies_parsed_at":"2022-08-20T23:40:28.332Z","dependency_job_id":null,"html_url":"https://github.com/doabit/kindeditor","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/doabit%2Fkindeditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doabit%2Fkindeditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doabit%2Fkindeditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doabit%2Fkindeditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doabit","download_url":"https://codeload.github.com/doabit/kindeditor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219847176,"owners_count":16556407,"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":[],"created_at":"2024-10-14T15:24:06.953Z","updated_at":"2026-06-05T10:30:14.492Z","avatar_url":"https://github.com/doabit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Rails KindEditor integration plugin with paperclip support for rails3 Rc,it supports  active_record and mongoid!\n--------------\n[Kindeditor](http://www.kindsoft.net \"Kindeditor\") is a open source HTML visual editor ,it can work good in  IE, Firefox, Chrome, Safari.and it has become one of the most popular editor in China.\n\nKindEditor version: 3.5.1 zh-cn [Kindeditor](http://kindeditor.googlecode.com/files/kindeditor-3.5.1-zh_CN.zip \"Kindeditor\")\n\n\nRequire:\n---------------\n- Rails3\n- Paperclip(if you use mongoid,make sure your paperclip can work in mongoid,you can edit paperclip.rb in config/initializers)\n\n  Paperclip.options[:log] = false  \n\nInstall\n---------------\n- As a plugin \n\n  rails plugin install git://github.com/doabit/kindeditor.git\n\n- As a gem\n  \n   sudo gem install kindeditor\n\n- copy files .\n\n  rails g kindeditor:install\n\nUsage\n--------------\n- kindeditor helper to layout that you want to use it\n\n  \u003c%=kindeditor_javacript_include_tag%\u003e\n\n- add a id \"kindeditor\" to your textarea\n\nSupport options\n--------------\n:orm ,default 'active_record'\n\nCustom\n--------------\nThe install generator will copy kindeditor_controller.rb to app/controllers , kindeditor_image.rb to app/mondels and kindeditor folder to public/javascripts.\n\nIf you want to mondify the Kindeditor items,you can open public/javascripts/kindeditor/kindeditor_config.js,and modify it for yourself.\n\nupdate:\n\nif you want to use for diffrent layout and you want to custom yourself,you can add args for kindeditor_javacript_include_tag\nand you can add cache option to it.defaut :cache=\u003efalse\neg:\n\n\u003c%=kindeditor_javacript_include_tag(\"kindeditor/my_config\",\"cosutom\",:cache=\u003etrue)%\u003e\n\nthen it will use your config and will not use defauot config in kindeditor folder.\n\nTODOs\n--------------\nAdd images paginate\n\nSupport CarrierWave\n\nExample Use:\n---------------\n1. Create CRUD for post\n\n   rails generate scaffold post title:string body:text\n  \n   Run Migrations\n\n2. rake db:migrate\n\n3. Add following line to application.html.erb\n\n    \u003c%=kindeditor_javacript_include_tag%\u003e\n  \n4. Modify views/posts/_form.html.erb\n\n    \u003c%= f.text_area :body,:id =\u003e \"kindeditor\" %\u003e\n\n\nContributors\n---------------------\nany sugestions? doinsist at gmail.com \n\nreleased under the MIT license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoabit%2Fkindeditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoabit%2Fkindeditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoabit%2Fkindeditor/lists"}