liberosoft / luyawysiwyg

Wysiwyg text editor for luya

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wysiwyg Module

Wysiwyg Module for luya CMS. Tinymce suppport.

Installation

composer require liberosoft/luyawysiwyg

In order to add the modules to your project go into the modules section of your config:

return [
    'modules' => [
        // ...
        'wysiwygfrontend' => [
            'class' => 'liberosoft\luyawysiwyg\frontend\Module',
            'useAppViewPath' => false,
        ],
        'wysiwygadmin' => [
            'class' => 'liberosoft\luyawysiwyg\admin\Module',
            'useAppViewPath' => false,
            'textEditorOptions' => [ // tinymce options
                'height' => '480',
                'plugins' => 'link image code lists textcolor',
                'toolbar' => 'undo redo | bold underline italic forecolor backcolor | alignleft aligncenter alignright alignjustify | numlist bullist outdent indent | removeformat | code'
            ]
        ],
        // ...
    ],
];

run:

./luya import

About

Wysiwyg text editor for luya


Languages

Language:JavaScript 67.8%Language:PHP 32.2%