{"id":19608696,"url":"https://github.com/vinceg/yii-redactorjs-widget","last_synced_at":"2025-04-27T20:33:03.127Z","repository":{"id":145603460,"uuid":"4463838","full_name":"VinceG/Yii-RedactorJS-Widget","owner":"VinceG","description":"Yii Widget for the WYSIWYG RedactorJS editor","archived":false,"fork":false,"pushed_at":"2013-03-14T01:57:58.000Z","size":166,"stargazers_count":14,"open_issues_count":1,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-05T03:22:26.330Z","etag":null,"topics":[],"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/VinceG.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":"2012-05-27T18:40:25.000Z","updated_at":"2022-03-19T05:15:57.000Z","dependencies_parsed_at":"2023-03-23T00:14:14.865Z","dependency_job_id":null,"html_url":"https://github.com/VinceG/Yii-RedactorJS-Widget","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/VinceG%2FYii-RedactorJS-Widget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VinceG%2FYii-RedactorJS-Widget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VinceG%2FYii-RedactorJS-Widget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VinceG%2FYii-RedactorJS-Widget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VinceG","download_url":"https://codeload.github.com/VinceG/Yii-RedactorJS-Widget/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251204739,"owners_count":21552281,"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-11-11T10:16:31.392Z","updated_at":"2025-04-27T20:33:02.416Z","avatar_url":"https://github.com/VinceG.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Yii-RedactorJS-Widget\n=====================\n\nYii Widget for the WYSIWYG RedactorJS editor\n\n- [Project Page](http://redactorjs.com/)\n- [Examples](http://redactorjs.com/examples/)\n- [Documentation](http://redactorjs.com/docs/)\n\nRequirements\n=====================\n\n- JQuery \u003e 1.7.1\n- Browser:\n - Firefox 3+\n - Safari 4+\n - Chrome 4+\n - Opera 10+\n - IE 7+\n\nInstallation\n=====================\n\n1. Download or Clone the files\n2. Extract into the widgets folder or extensions folder\n\nUsage\n===================\n\nUsing with a model\n------------------\n\n~~~\n$this-\u003ewidget('application.widgets.redactorjs.Redactor', array( 'model' =\u003e $model, 'attribute' =\u003e 'some_attribute' ));\n~~~\n\nUsing with a model and a mini toolbar and different language\n------------------\n\n~~~\n$this-\u003ewidget('application.widgets.redactorjs.Redactor', array( 'lang' =\u003e 'de', 'toolbar' =\u003e 'mini', 'model' =\u003e $model, 'attribute' =\u003e 'some_attribute' ));\n~~~\n\n- There are two toolbars supported right now: default \u0026 mini. By default the widget will load the 'default' toolbar.\n- Supported languages currently: de, en, fr, lv, pl, pt_br, ru, ua\n\nUsing with a model and custom toolbar options\n------------------\n\n~~~\n$this-\u003ewidget('application.widgets.redactorjs.Redactor', array( 'editorOptions' =\u003e array('autoresize' =\u003e true, 'fixed' =\u003e true), 'model' =\u003e $model, 'attribute' =\u003e 'some_attribute' ));\n~~~\n\n- Referrer to the redactorjs API for the list of supported elements. [View Docs](http://redactorjs.com/docs/settings/)\n\nUsing with a name and value\n------------------\n\n~~~\n$this-\u003ewidget('application.widgets.redactorjs.Redactor', array( 'name' =\u003e 'some name', 'value' =\u003e 'some value' ));\n~~~\n\n\nAuthors\n==================\n\nVincent Gabriel \u003chttp://vadimg.com\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinceg%2Fyii-redactorjs-widget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvinceg%2Fyii-redactorjs-widget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinceg%2Fyii-redactorjs-widget/lists"}