utakka / redactor-anchors
Support for anchors in Craft CMS Redactor
Installs: 102 318
Dependents: 2
Suggesters: 0
Security: 0
Stars: 10
Watchers: 0
Forks: 4
Open Issues: 0
Language:JavaScript
Type:craft-plugin
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
Add anchor functionality for Redactor in Craft CMS
Installation
- Run Composer in your project folder:
composer require utakka/redactor-anchors
-
Open your Craft Control Panel, navigate to Plugins and click 'Install' for Redactor Anchors.
-
Add
redactoranchors
to plugins array in your Redactor config. Example:
{ "buttons": ["bold", "italic", "unorderedlist", "link", "redactoranchors", "image"], "plugins": ["fullscreen", "redactoranchors"], "linkNewTab": true, "toolbarFixed": true }
There is a redactor-config-sample.json, too.