liberosoft/luyawysiwyg

Wysiwyg editor

Installs: 186

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 2

Open Issues: 0

Language:JavaScript

Type:luya-module

v1.0.7 2018-11-30 13:28 UTC

This package is not auto-updated.

Last update: 2024-09-29 05:42:11 UTC


README

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