Skip to content

Commit

Permalink
fix registering plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
kringkaste committed Dec 14, 2022
1 parent 388f280 commit 84df7d3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
# Redactor nofollow link plugin Changelog

## Unreleased
### Changed
## 1.0.2 - 2022-12-14

### Fixed

- Preventing other Redactor plugins from registering.
- Fixed background color of icon

## 1.0.1 - 2020-04-08

### Fixed

- Fixed a bug when editing an existing link with the target="_blank" attribute causing the checkbox "nofollow" to always be selected.

## 1.0.0 - 2019-05-16

### Added

- Initial release
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "codemonauts/craft-redactor-nofollow",
"description": "Craft CMS plugin to extends the Redactor's link module with the nofollow relationship attribute.",
"version": "1.0.1",
"version": "1.0.2",
"type": "craft-plugin",
"keywords": [
"craft",
Expand Down
2 changes: 0 additions & 2 deletions src/Nofollow.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ public function init()
Event::on(Field::class, Field::EVENT_REGISTER_PLUGIN_PATHS, function(RegisterPluginPathsEvent $event) {
$event->paths[] = __DIR__.'/resources/';
});

Field::registerRedactorPlugin('nofollow');
}
}
}

0 comments on commit 84df7d3

Please sign in to comment.