Skip to content

Commit

Permalink
Remove unnecessary if.
Browse files Browse the repository at this point in the history
  • Loading branch information
Comandeer committed Aug 9, 2021
1 parent 0e7f0bd commit 0b89d11
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions plugins/fakeobjects/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,7 @@
fragment = CKEDITOR.htmlParser.fragment.fromHtml( html );

dataFilter.applyTo( fragment );

if ( acfFilter ) {
acfFilter.applyTo( fragment );
}
acfFilter.applyTo( fragment );

CKEDITOR.tools.array.forEach( unprefixedElements, function( element ) {
element.name = 'cke:' + element.name;
Expand Down

0 comments on commit 0b89d11

Please sign in to comment.