hongyukeji / laravel-ueditor
Package description here.
Installs: 76
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:JavaScript
This package is auto-updated.
Last update: 2024-12-19 19:22:52 UTC
README
.
Installing
$ composer require hongyukeji/laravel-ueditor -vvv
$ php artisan vendor:publish --provider="Hongyukeji\LaravelUEditor\Providers\UEditorServiceProvider"
Usage
- in your block just put
@include('UEditor::assets')
<!-- 加载编辑器的容器 --> <script id="container" name="content" type="text/plain">这里写你的初始化内容</script> <!-- 实例化编辑器 --> <script type="text/javascript"> var ue = UE.getEditor('container'); </script>
- Ueditor官方文档: https://github.com/fex-team/ueditor/
Contributing
You can contribute in one of three ways:
- File bug reports using the issue tracker.
- Answer questions or fix bugs on the issue tracker.
- Contribute new features or update the wiki.
The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.
License
MIT