netgen/ibexa-fieldtype-html-text

Netgen 为 Ibexa 定制的 html 文本字段类型

安装: 135

依赖关系: 0

建议者: 0

安全: 0

星级: 0

关注者: 8

分支: 1

公开问题: 0

语言:JavaScript

类型:ibexa-bundle

1.0.0 2024-02-08 14:43 UTC

This package is auto-updated.

Last update: 2024-09-08 15:49:10 UTC


README

Downloads Latest stable PHP Ibexa

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>