承接 amirandev/openadmin-summernote 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

amirandev/openadmin-summernote

最新稳定版本:v1.0

Composer 安装命令:

composer require amirandev/openadmin-summernote

包简介

Integrate Summernote editor into open-admin

README 文档

README

Here’s a polished, ready-to-use README description for your package based on what you provided, with clean formatting and slight improvements for clarity:

Integrate Summernote into Open-Admin

This is an open-admin extension that integrates the Summernote WYSIWYG editor into the open-admin form system.

Screenshot

field-summernote

Installation

Run the following command to install the package via Composer:

composer require amirandev/open-admin-summernote

Then publish the package assets:

php artisan vendor:publish --tag=open-admin-summernote

Configuration

In your config/admin.php file, add the summernote extension configuration under the extensions section:

'extensions' => [

    'summernote' => [

        // Set to false to disable this extension
        'enable' => true,

        // Editor configuration options
        'config' => [

            // See Summernote docs for available options
        ],
    ],

],

Example configuration (customize as needed):

'config' => [
    'language'    => 'de',
    'height'      => 500,
    'contentsCss' => '/css/frontend-body-content.css',
]

For more configuration options, see the official Summernote Documentation.

Usage

Use the Summernote editor in your OpenAdmin form like this:

$form->summernote('content');

Or with custom options:

$form->summernote('content')->options([
    'lang'        => 'fr',
    'height'      => 500,
    'contentsCss' => '/css/frontend-body-content.css',
]);

Troubleshooting

If Summernote does not load or you see errors about missing files, try clearing your application cache:

php artisan optimize:clear

License

This package is licensed under the MIT License.

If you want, I can help you prepare the actual README.md file content ready to copy-paste! Would you like that?

统计信息

  • 总下载量: 2
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-05-20