{"id":19396040,"url":"https://github.com/zxbodya/yii2-tinymce","last_synced_at":"2025-04-24T05:30:52.018Z","repository":{"id":21366185,"uuid":"24683447","full_name":"zxbodya/yii2-tinymce","owner":"zxbodya","description":"Yii2 extension, tinymce wysiwyg editor","archived":false,"fork":false,"pushed_at":"2018-06-25T16:31:50.000Z","size":3332,"stargazers_count":17,"open_issues_count":3,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-16T09:15:13.144Z","etag":null,"topics":["elfinder","tinymce","yii2","yii2-extension"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/zxbodya.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":"2014-10-01T15:21:30.000Z","updated_at":"2023-07-02T23:28:50.000Z","dependencies_parsed_at":"2022-07-30T03:37:52.025Z","dependency_job_id":null,"html_url":"https://github.com/zxbodya/yii2-tinymce","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxbodya%2Fyii2-tinymce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxbodya%2Fyii2-tinymce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxbodya%2Fyii2-tinymce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxbodya%2Fyii2-tinymce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zxbodya","download_url":"https://codeload.github.com/zxbodya/yii2-tinymce/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250572143,"owners_count":21452325,"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":["elfinder","tinymce","yii2","yii2-extension"],"created_at":"2024-11-10T10:33:19.793Z","updated_at":"2025-04-24T05:30:51.487Z","avatar_url":"https://github.com/zxbodya.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"TinyMCE integration for Yii2\n===========================\nYii2 extension to simplify tinymce wyiwyg editor usage in your application.\n\nExtension is based on Yii 1.1 version: https://github.com/zxbodya/yii-tinymce\n\nProvides:\n\n* widget\n* compressor action\n* stub for integration with file managers like elFinder\n\n\n##Installation\nThe preferred way to install this extension is through [composer](https://getcomposer.org/).\n\nEither run\n\n`php composer.phar require --prefer-dist zxbodya/yii2-tinymce \"*@dev\"`\n\nor add\n\n`\"zxbodya/yii2-tinymce\": \"*@dev\"`\n\nto the require section of your `composer.json` file.\n## Usage\n\n### Widget basic usage\n\n```php\n$form-\u003efield($model, 'content')-\u003ewidget(TinyMce::className())\n```\n\n### Scripts Compressor Action\n\nThis can be used to optimize widget loading time.\n\nAt fist setup compressor action:\n\n```php\npublic function actions()\n{\n    return [\n        'tinyMceCompressor' =\u003e [\n            'class' =\u003e TinyMceCompressorAction::className(),\n        ],\n    ];\n}\n```\n\nNext add route to configured action to widget ooptions:\n\n```php\n$form-\u003efield($model, 'content')-\u003ewidget(\n    TinyMce::className(),\n    ['compressorRoute' =\u003e 'test/tinyMceCompressor']\n)\n```\n\n### ElFinder Fille manager \nAt fisrt install `zxbodya/yii2-elfinder` extesion.\n\n[https://github.com/zxbodya/yii2-elfinder](https://github.com/zxbodya/yii2-elfinder)\n\nAnd configure connector action for it.\n\nNext add file manager settings to widget:\n\n```php\n$form-\u003efield($model, 'content')-\u003ewidget(\n    TinyMce::className(),\n    [\n        'fileManager' =\u003e [\n            'class' =\u003e TinyMceElFinder::className(),\n            'connectorRoute' =\u003e 'el-finder/connector',\n        ],\n    ]\n)\n```\n\n### Spellchecker \nTinyMce has bundled plugin for spellchecking but it requires backed to work...\n\nYou can use yandex spellchecker service.\n\n```php\n$form-\u003efield($model, 'content')-\u003ewidget(\n    TinyMce::className(),\n    ['spellcheckerUrl'=\u003e'http://speller.yandex.net/services/tinyspell']\n)\n```\n\nMore info about it here: \n\n[http://api.yandex.ru/speller/doc/dg/tasks/how-to-spellcheck-tinymce.xml](http://api.yandex.ru/speller/doc/dg/tasks/how-to-spellcheck-tinymce.xml)\n\nOr you can build own spellcheking service using code provided by moxicode:\n[http://www.tinymce.com/download/download.php](http://www.tinymce.com/download/download.php)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzxbodya%2Fyii2-tinymce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzxbodya%2Fyii2-tinymce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzxbodya%2Fyii2-tinymce/lists"}