Skip to content

slowfox089/luyawysiwyg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 67.8%
  • PHP 32.2%