承接 pranabkalita/blade-ckeditor 相关项目开发

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

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

pranabkalita/blade-ckeditor

最新稳定版本:v1.0.0

Composer 安装命令:

composer require pranabkalita/blade-ckeditor

包简介

Ckeditor 5 for Laravel

README 文档

README

This is a Livewire component which allows to add basic CkEditor 5 integration to your Laravel app.

Requirements

  1. PHP >= 8.2
  2. Laravel >= 9
  3. Livewire >= 2
  4. AlpineJs >= 2

Steps

  1. Install package: composer require pranabkalita/blade-ckeditor
  2. Publish Assets: php artisan vendor:publish --tag=blade-ckeditor
  3. Add the following directives in you layout file
    <head>
    ...
    @ckeditorStyles
    </head>
    
    <body>
     ...
     @alpineJs // Not required for Livewire >= 3
     @ckeditorScripts
    </body>
  4. In your blade file: <x-blade-ckeditor wire:model="body" />
  5. For edit purpose you must provide the initialContent props like below
    <x-ckeditor wire:model="body" :initialContent="$body" />

Roadmaps

Since this is new package. No custom options are available yet. Will be working on it and pushing out regular updates with new features.

  1. Get rid of :initialContent and make it work with wire:mode iteself.
  2. Use the ability to select the editor version i.e WYSIWYG or Markdown.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-09-20