netgen / ibexa-fieldtype-html-text
Netgen 为 Ibexa 定制的 html 文本字段类型
1.0.0
2024-02-08 14:43 UTC
Requires
- php: ^8.1
- ext-dom: *
- ext-json: *
- ext-pdo: *
- ezyang/htmlpurifier: ^4.16
- ibexa/admin-ui: ^4.5
- ibexa/content-forms: ^4.5
- ibexa/core: ^4.2
- xemlock/htmlpurifier-html5: ^0.1.11
Requires (Dev)
- phpunit/phpunit: ^9.5.5
- symfony/phpunit-bridge: ^6.1
This package is auto-updated.
Last update: 2024-09-08 15:49:10 UTC
README
Ibexa CMS 的 Html 文本字段类型提供在前后端以及 Ibexa 管理界面渲染 WYSIWYG 字段的可能。
安装步骤
使用 Composer
运行 composer require
composer require netgen/ibexa-fieldtype-html-text
激活包
在 config/bundles.php
文件中激活包。
<?php return [ ..., Netgen\IbexaFieldTypeHtmlTextBundle\NetgenIbexaFieldTypeHtmlTextBundle::class => ['all' => true],, ... ];
在前端包含 JavaScript 文件
在你的前端站点访问的基础 twig 文件中包含构建的 app.js
文件
<script src="{{ asset('bundles/netgenibexafieldtypehtmltext/build/app.js') }}"></script>