michaelstaatz/ckeditor5-abbreviation 问题修复 & 功能扩展

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

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

michaelstaatz/ckeditor5-abbreviation

最新稳定版本:1.3.1

Composer 安装命令:

composer require michaelstaatz/ckeditor5-abbreviation

包简介

Add Abbreviations information through the ckeditor

README 文档

README

This extension ships a simple plugin for the ckeditor to allow editors setting abbreviations. The plugin itself has been taken from https://github.com/ckeditor/ckeditor5-tutorials-examples/tree/main/abbreviation-plugin/part-3 without some changes.

Installation

Use ddev composer req michaelstaatz/ckeditor5-abbreviation or download the extension from TER.

Usage

All it takes to enable the plugin are the following changes in your RTE.yaml:

  1. Import the configuration from the extension:
editor:
  config:
    importModules:
      - '@mista/ckeditor5_abbreviation/abbreviation.js'
    htmlSupport:
      allow:
        - { name: 'abbr', attributes: true, classes: true, styles: true }
    contentsCss:
      - "EXT:ckeditor5_abbreviation/Resources/Public/Css/Abbr.css"
  1. Enable the plugin:
editor:
  config:
    toolbar:
      items:
        - abbreviation
  1. Load the CSS - File
page.includeCSS.abbreviation-tooltip = EXT:ckeditor5_abbreviation/Resources/Public/Css/AbbreviationTooltip.css

Optional

There is an UpgradeWizard as part of this extension. Purpose is to replace all <abbr title=" with <abbr data-tooltip="

Credits

This extension was created by Michael Staatz with ♥ and is inspired by the extension rte_ckeditor_abbr

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2025-07-15