When you are adding long content in CKEditor 5 classic, on scroll the toolbar becomes fixed to the top in the browser window.
But I have a fixed positioned white logo area with a menu bar beneath and the toolbar appears above them:
How can I make it stay under my fixed header/navigation?
I've managed to find the answer:
npm install --save @ckeditor/ckeditor5-ui
viewportTopOffset : Number
example:
ClassicEditor.defaultConfig = {
toolbar: {
viewportTopOffset : 50, <-- height of fixed header
items: [
'heading',
'|',
'highlight',
'|',
'bold',
'italic',
...