Skip to content

Commit

Permalink
Manually add widgetselection fillers for Safari.
Browse files Browse the repository at this point in the history
  • Loading branch information
Comandeer authored and f1ames committed Dec 3, 2019
1 parent b5e077a commit eb16116
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/widget/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -3424,6 +3424,11 @@
if ( focused ) {
editor.widgets.del( focused );
} else {
// We have to add fillers manually for Safari (#3537).
if ( CKEDITOR.env.webkit && !CKEDITOR.env.chrome ) {
CKEDITOR.plugins.widgetselection.addFillers( editor.editable() );
}

editor.extractSelectedHtml();
}

Expand Down

0 comments on commit eb16116

Please sign in to comment.