# summernote **Repository Path**: leqms/summernote ## Basic Information - **Project Name**: summernote - **Description**: laravel admin summernote 富文本 - **Primary Language**: PHP - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-11-06 - **Last Updated**: 2022-12-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Summernote editor extension for laravel-admin ====== This is a `laravel-admin` extension that integrates `Summernote` into the `laravel-admin` form. ## Screenshot ![wx20180905-132310](https://user-images.githubusercontent.com/1479100/45072743-f1d92b00-b10e-11e8-9a51-9397fa4fb24e.png) ## Installation ```bash composer require lemqs/summernote ``` Then ```bash php artisan vendor:publish --tag=laravel-admin-summernote ``` ## Configuration In the `extensions` section of the `config/admin.php` file, add some configuration that belongs to this extension. ```php 'extensions' => [ 'summernote' => [ //Set to false if you want to disable this extension 'enable' => true, // Editor configuration 'config' => [ ] ] ] ``` The configuration of the editor can be found in [Summernote Documentation](https://summernote.org/getting-started/), such as configuration language and height. ```php 'config' => [ 'lang' => 'zh-CN', 'height' => 500, ] ``` ## Usage Use it in the form: ```php $form->summernote('content'); ``` License ------------ Licensed under [The MIT License (MIT)](LICENSE).