liberosoft / luyawysiwyg
所见即所得编辑器
v1.0.7
2018-11-30 13:28 UTC
Requires
- bower-asset/angular-ui-tinymce: ~0.0.18
This package is not auto-updated.
Last update: 2024-09-29 05:42:11 UTC
README
luya CMS 的所见即所得模块。支持 TinyMCE。
安装
composer require liberosoft/luyawysiwyg
要将模块添加到您的项目中,请进入配置的模块部分
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' ] ], // ... ], ];
运行
./luya import