承接 poldixd/laravel-filament-rich-editor-insert-html 相关项目开发

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

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

poldixd/laravel-filament-rich-editor-insert-html

Composer 安装命令:

composer require poldixd/laravel-filament-rich-editor-insert-html

包简介

A Filament rich editor plugin for inserting raw HTML from a modal.

README 文档

README

A small Filament rich editor plugin that adds an insertHtml toolbar button. The button opens a modal where users can paste HTML, then inserts that HTML into the editor at the current cursor position.

Requirements

  • PHP 8.2 or higher
  • Filament Forms 5.6 or higher
  • Laravel 11, 12, or 13

Installation

Install the package with Composer:

composer require poldixd/laravel-filament-rich-editor-insert-html

Laravel will discover the service provider automatically.

Usage

Register the plugin on a Filament RichEditor field:

use Filament\Forms\Components\RichEditor;
use poldixd\FilamentRichEditorInsertHtml\RichEditorInsertHtmlPlugin;

RichEditor::make('content')
    ->plugins([
        RichEditorInsertHtmlPlugin::make(),
    ]);

The plugin automatically enables the insertHtml toolbar button. Clicking it opens a modal with an HTML textarea and inserts the submitted HTML using Filament's rich editor command API.

Translations

The package ships with English and German translations. To customize them in your application, publish the language files:

php artisan vendor:publish --tag=filament-rich-editor-insert-html-translations

The files will be published to:

lang/vendor/filament-rich-editor-insert-html

Testing

composer test

License

The MIT License (MIT).

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-05-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固