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 committed Jan 12, 2020
1 parent 12ae682 commit f3ce40d
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 @@ -3426,6 +3426,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 f3ce40d

Please sign in to comment.