almaviacx/ibexarichtextextrabundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

almaviacx/ibexarichtextextrabundle

最新稳定版本:1.0.0

Composer 安装命令:

composer require almaviacx/ibexarichtextextrabundle

包简介

Bundle that extend the Ibexa Richtext Editor with new features

README 文档

README

This repository is what we call a "subtree split": a read-only copy of one directory of the main repository. It is used by Composer to allow developers to depend on specific bundles.

If you want to report or contribute, you should instead open your issue on the main repository: https://github.com/Novactive/Nova-eZPlatform-Bundles

Documentation is available in this repository via .md files but also packaged here: https://novactive.github.io/Nova-eZPlatform-Bundles/master/2FABundle/README.md.html

This bundle extend the Ibexa Richtext Editor with the following features :

  • add an edit button to embed and images in the editor which allow to edit the corresponding content
  • add a button to upload a file as an embed in the editor

Installation

Requirements

  • Ibexa 4.5
  • PHP 7.3 || 8.0

Use Composer

Add the lib to your composer.json, run composer require almaviacx/ibexarichtextextrabundle to refresh dependencies.

Register the bundle

Then inject the bundle in the config\bundles.php of your application.

    return [
        // ...
        AlmaviaCX\Bundle\IbexaRichTextExtraBundle\AlmaviaCXIbexaRichTextExtraBundle::class => [ 'all'=> true ],
    ];

Add routes

Make sure you add this route to your routing:

# config/routes.yaml

_almaviacx_ibexa_rich_text_extra_bundle_routes:
    resource: '@AlmaviaCXIbexaRichTextExtraBundle/Resources/config/routing.yaml'

Configuration

This bundle define the following setting which allow tu customize the file upload behavior

# Binary files mappings
ibexa.site_access.config.default.fieldtypes.binaryfile.mappings:
    content_type_identifier: file
    content_field_identifier: file
    name_field_identifier: name
    parent_location_id: 52
    mime_types:
        - image/svg+xml
        - application/msword
        - application/vnd.openxmlformats-officedocument.wordprocessingml.document
        - application/vnd.ms-excel
        - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
        - application/vnd.ms-powerpoint
        - application/vnd.openxmlformats-officedocument.presentationml.presentation
        - application/pdf

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 1
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-12-07