dirkpersky/typo3-rte-ckeditor-fontawesome 问题修复 & 功能扩展

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

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

dirkpersky/typo3-rte-ckeditor-fontawesome

最新稳定版本:12.2.0

Composer 安装命令:

composer require dirkpersky/typo3-rte-ckeditor-fontawesome

包简介

Adds the Fontawesome add-on to the CKEditor in TYPO3.

README 文档

README

Donate Latest Stable Version TYPO3 License

This repository provides the add-on "Fontawesome" as a extension for TYPO3 CKEditor. It extends the default, full and minimal layout of the CKEditor. If you write your own CKE-Preset pls have attention that you not remove the Italic Button

TSConfig

Typo3 Constants:

Disable CDN Integration in Frontend

plugin.tx_ckeditor_fontawesome.loadCSS = 

Set alternativ CDN reference File

plugin.tx_ckeditor_fontawesome.css = {$path}

Add Fotawesome in your own RTE Preset

To add this Plug-In in your own RTE Config. Import the Config in your preset.

imports:
    - { resource: "EXT:rte_ckeditor_fontawesome/Configuration/RTE/PluginFA6.yaml" }

At the next step you need to extend your individual Toolbar-Config to add the Clickable Icon.

  ...
  toolbar:
        - [ 'Bold', 'Italic', .....]
        ...
        - [ 'DPFontAwesome' ]
        ...

Fontawesome 6 Pro

Update YAML

Usually you have a RTE config in your sitepackage, if not create a new file.

  • add PluginFA6Pro.yaml to imports
  • add fontAwesome URL or path to CSS
  • if icons are still missing: check webfonts path in the css and change if necessary
imports:
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" }
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" }
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" }
- { resource: "EXT:rte_ckeditor_fontawesome/Configuration/RTE/PluginFA6Pro.yaml" }

editor:
  config:
    ui:
      DPFontAwesome:
        css: 'LINK TO YOUR FONTAWESOME PRO CSS'

Depends on your RTE Config maybe the toolbar button may not appear. Than you need to add it to your sets.

editor:
  config:
    toolbar:
      ###YOUR_TOOLBARGRP###:
        - '|'
        - DPFontAwesome

ToDo:

Please give us feedback

We would appreciate any kind of feedback or ideas for further developments to keep improving the extension for your needs.

Say thanks! and support me

You like this extension? Get something for me (surprise!) from my wishlist on Amazon or Donate the next pizza. Thanks a lot!

Contact me

统计信息

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

GitHub 信息

  • Stars: 16
  • Watchers: 3
  • Forks: 10
  • 开发语言: HTML

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2018-05-07