Skip to content

Commit

Permalink
Add Attr.EnableID to the default HTML Purifier config
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Dec 11, 2018
1 parent 5bd7420 commit 45b9461
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,9 @@

## Unreleased

### Changed
- CKEditor fields’ default HTML Purifier config now allows `id` attributes. ([craftcms/redactor#82](https://github.com/craftcms/redactor/issues/82))

### Fixed
- Fixed a deprecation error when running CKEditor on Craft 3.0.0-RC15 or later.
- Fixed a bug where an empty CKEditor field would return some HTML content.
Expand Down
1 change: 1 addition & 0 deletions src/Field.php
Expand Up @@ -212,6 +212,7 @@ private function _getPurifierConfig(): array
// Default config
return [
'Attr.AllowedFrameTargets' => ['_blank'],
'Attr.EnableID' => true,
];
}

Expand Down

0 comments on commit 45b9461

Please sign in to comment.