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:
- 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"
- Enable the plugin:
editor: config: toolbar: items: - abbreviation
- 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
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2025-07-15