Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Docs: Used the getViewportTopOffsetConfig helper in the code snippets.
Browse files Browse the repository at this point in the history
  • Loading branch information
oleq committed Nov 20, 2018
1 parent e1b4206 commit 127924a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_snippets/features/media-embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ClassicEditor
items: [
'mediaEmbed', '|', 'heading', '|', 'bold', 'italic', '|', 'undo', 'redo'
],
viewportTopOffset: 100
viewportTopOffset: window.getViewportTopOffsetConfig()
}
} )
.then( editor => {
Expand Down

0 comments on commit 127924a

Please sign in to comment.