Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.23 KB

README.md

File metadata and controls

38 lines (28 loc) · 1.23 KB

ibexa-fieldtype-html-text

Downloads Latest stable PHP Ibexa

Html text field type for Ibexa CMS offers the possibility to render WYSIWYG field both on the frontend and in Ibexa administration.

Installation steps

Use Composer

Run composer require:

composer require netgen/ibexa-fieldtype-html-text

Activate the bundle

Activate the bundle in config/bundles.php file.

<?php

return [
    ...,

    Netgen\IbexaFieldTypeHtmlTextBundle\NetgenIbexaFieldTypeHtmlTextBundle::class => ['all' => true],,

    ...
];

Include the javascript file on the frontend

Inside the base twig file for your frontend siteaccess, include the built app.js file:

<script src="{{ asset('bundles/netgenibexafieldtypehtmltext/build/app.js') }}"></script>