utakka / redactor-anchors
支持Craft CMS Redactor中的锚点
1.5.0
2024-04-29 17:45 UTC
Requires
- craftcms/cms: ^3.1|^4.0|^5.0
- craftcms/redactor: ^2.3|^3.0|^4.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.39
README
为Craft CMS中的Redactor添加锚点功能
安装
- 在项目文件夹中运行Composer
composer require utakka/redactor-anchors
-
打开Craft控制面板,转到插件,点击'Redactor Anchors'的'安装'按钮。
-
将
redactoranchors添加到Redactor配置中的插件数组中。示例
{ "buttons": ["bold", "italic", "unorderedlist", "link", "redactoranchors", "image"], "plugins": ["fullscreen", "redactoranchors"], "linkNewTab": true, "toolbarFixed": true }
