All Projects → zxbodya → yii2-tinymce

zxbodya / yii2-tinymce

Licence: other
Yii2 extension, tinymce wysiwyg editor

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to yii2-tinymce

yii2-ledap
yii2 for ledap
Stars: ✭ 20 (+25%)
Mutual labels:  yii2, yii2-extension
yii2-formbuilder
A drag and drop form builder with jQuery for Yii2
Stars: ✭ 33 (+106.25%)
Mutual labels:  yii2, yii2-extension
yii2-js-urlmanager
That extension provide a way to create urls from your frontend part.
Stars: ✭ 53 (+231.25%)
Mutual labels:  yii2, yii2-extension
yii2-ion-slider
Easily customizable range slider with skins support.
Stars: ✭ 21 (+31.25%)
Mutual labels:  yii2, yii2-extension
ar-role
ActiveRecord behavior, which provides relation roles (table inheritance)
Stars: ✭ 34 (+112.5%)
Mutual labels:  yii2, yii2-extension
yii2-emoji
😄 this is a emoji extension of yii2.
Stars: ✭ 17 (+6.25%)
Mutual labels:  yii2, yii2-extension
ar-variation
Variation behavior for ActiveRecord
Stars: ✭ 46 (+187.5%)
Mutual labels:  yii2, yii2-extension
yii2-sweet-submit
sweet sumit using sweetalert
Stars: ✭ 26 (+62.5%)
Mutual labels:  yii2, yii2-extension
yii2-timezone
Timezone detector
Stars: ✭ 14 (-12.5%)
Mutual labels:  yii2, yii2-extension
yii2-link-preview
LinkPreview widget render page preview
Stars: ✭ 26 (+62.5%)
Mutual labels:  yii2, yii2-extension
yii2-payment
Yii2 Payment extension hổ trợ tích hợp các cổng thanh toán VnPayment, Onepay, Bảo Kim, Ngân Lượng, VTCPay, MoMo.
Stars: ✭ 20 (+25%)
Mutual labels:  yii2, yii2-extension
ar-dynattribute
Provide ActiveRecord dynamic attributes stored into the single field in serialized state
Stars: ✭ 43 (+168.75%)
Mutual labels:  yii2, yii2-extension
yii2-elasticsearch
Elasticsearch client based on official Elasticsearch PHP library
Stars: ✭ 14 (-12.5%)
Mutual labels:  yii2, yii2-extension
yii2-fileapi-widget
Yii2 FileAPI widget.
Stars: ✭ 51 (+218.75%)
Mutual labels:  yii2, yii2-extension
background-translation-i18n
Based on the YII2 module to translate JSON formatted translation files on the web
Stars: ✭ 11 (-31.25%)
Mutual labels:  yii2, yii2-extension
yii2-user
Flexible user registration and authentication module for Yii2.
Stars: ✭ 24 (+50%)
Mutual labels:  yii2, yii2-extension
yii2-vote
Provides voting for any model 👍 👎
Stars: ✭ 70 (+337.5%)
Mutual labels:  yii2, yii2-extension
yii2-array-query
Yii2 component that allows for searching/filtering the elements of an array.
Stars: ✭ 34 (+112.5%)
Mutual labels:  yii2, yii2-extension
yii2-lock-form
disable the button when form submit
Stars: ✭ 37 (+131.25%)
Mutual labels:  yii2, yii2-extension
yii2-presenter
Yii2 View Presenter
Stars: ✭ 13 (-18.75%)
Mutual labels:  yii2, yii2-extension

TinyMCE integration for Yii2

Yii2 extension to simplify tinymce wyiwyg editor usage in your application.

Extension is based on Yii 1.1 version: https://github.com/zxbodya/yii-tinymce

Provides:

  • widget
  • compressor action
  • stub for integration with file managers like elFinder

##Installation The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist zxbodya/yii2-tinymce "*@dev"

or add

"zxbodya/yii2-tinymce": "*@dev"

to the require section of your composer.json file.

Usage

Widget basic usage

$form->field($model, 'content')->widget(TinyMce::className())

Scripts Compressor Action

This can be used to optimize widget loading time.

At fist setup compressor action:

public function actions()
{
    return [
        'tinyMceCompressor' => [
            'class' => TinyMceCompressorAction::className(),
        ],
    ];
}

Next add route to configured action to widget ooptions:

$form->field($model, 'content')->widget(
    TinyMce::className(),
    ['compressorRoute' => 'test/tinyMceCompressor']
)

ElFinder Fille manager

At fisrt install zxbodya/yii2-elfinder extesion.

https://github.com/zxbodya/yii2-elfinder

And configure connector action for it.

Next add file manager settings to widget:

$form->field($model, 'content')->widget(
    TinyMce::className(),
    [
        'fileManager' => [
            'class' => TinyMceElFinder::className(),
            'connectorRoute' => 'el-finder/connector',
        ],
    ]
)

Spellchecker

TinyMce has bundled plugin for spellchecking but it requires backed to work...

You can use yandex spellchecker service.

$form->field($model, 'content')->widget(
    TinyMce::className(),
    ['spellcheckerUrl'=>'http://speller.yandex.net/services/tinyspell']
)

More info about it here:

http://api.yandex.ru/speller/doc/dg/tasks/how-to-spellcheck-tinymce.xml

Or you can build own spellcheking service using code provided by moxicode: http://www.tinymce.com/download/download.php

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].