cu-boulder/ckeditor5_bootstrap_accordion
Composer 安装命令:
composer require cu-boulder/ckeditor5_bootstrap_accordion
包简介
Insert and edit a Bootstrap 5 accordion in CKEditor 5.
README 文档
README
Insert and edit a Bootstrap 5 accordion in CKEditor 5, seamlessly within the editor. CKEditor 5 Bootstrap Accordion is built using CKEditor 5's modern TypeScript plugin APIs and designed to look like it belongs in the editor.
Features
Core features
- Add an accordion and insert or delete accordion items conveniently from the CKEditor toolbars.
- Choose to open the first item or all items individually for each accordion.
- Accordions work right out of the box, no extra CSS or JavaScript is needed on your site if it already uses Bootstrap 5's provided CSS and JavaScript.
- Accordion-in-accordion nesting is supported.
Features for developers
- Build a custom CKEditor 5 plugin to add your own items to an accordion's
toolbar, simply by altering the
bootstrapAccordion.toolbarItemsconfiguration. - Customize accordion styling by overriding Bootstrap 5's CSS variables, and style accordions to match your site's theme while keeping their functionality intact.
Accessibility
aria-controlsandaria-expandedattributes are added to all accordions and supported by Bootstrap.- Tab key navigation is possible while editing within an accordion widget.
Post-Installation
After installation, enable the plugin by dragging the "Accordion" item onto the
toolbar of your text format (/admin/config/content/formats) and checking the
box next to the "Accordion enabler" filter. Accordions won't function properly
without the filter enabled.
Additional Requirements
Your site should be using the Bootstrap 5 frontend library in its main theme. The library isn't required in the admin theme or for editing the accordion.
This plugin was developed exclusively for modern Drupal 10+ sites and requires CKEditor 5, meaning it's entirely incompatible with CKEditor 4 or other editors. It's also incompatible with older versions of Bootstrap as it uses the new accordion component added to Bootstrap 5.
cu-boulder/ckeditor5_bootstrap_accordion 适用场景与选型建议
cu-boulder/ckeditor5_bootstrap_accordion 是一款 基于 TypeScript 开发的 Composer 扩展包,目前已累计 42.45k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 04 月 14 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 cu-boulder/ckeditor5_bootstrap_accordion 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 cu-boulder/ckeditor5_bootstrap_accordion 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 42.45k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 16
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2025-04-14