承接 laravel-admin-ext/simplemde 相关项目开发

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

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

laravel-admin-ext/simplemde

最新稳定版本:v1.0.1

Composer 安装命令:

composer require laravel-admin-ext/simplemde

包简介

Simplemde markdown editor extension for laravel-admin

README 文档

README

Simplemde is a great markdown editor, this extension is used to integrate Simplemde into the laravel-admin form.

Screenshot

wx20180906-130207

Installation

composer require laravel-admin-ext/simplemde

Then

php artisan vendor:publish --tag=laravel-admin-simplemde

Configuration

In the extensions section of the config/admin.php file, add some configuration that belongs to this extension.

    'extensions' => [

        'simplemde' => [
        
            // Set to false if you want to disable this extension
            'enable' => true,
            
            // If you want to set an alias for the calling method
            //'alias' => 'markdown',
            
            // Editor configuration
            'config' => [
                
            ]
        ]
    ]

The configuration of the editor can be found in Simplemde Documentation

    'config' => [
        'autofocus'   => true,
        'placeholder' => 'xxxx',
        ....
    ]

Usage

Use it in the form:

$form->simplemde('content');

Set height

$form->simplemde('content')->height(500);

If the method alias is specified in the configuration as markdown

$form->markdown('content');

Donate

Help keeping the project development going, by donating a little. Thanks in advance.

PayPal Me

-1

License

Licensed under The MIT License (MIT).

统计信息

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

GitHub 信息

  • Stars: 33
  • Watchers: 2
  • Forks: 9
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-09-06