Opened 10 years ago
Closed 10 years ago
#12705 closed New Feature (invalid)
Make inline editor toolbar behaviour on scroll configurable
Reported by: | Mark Kenny | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | UI : Floating Panel | Version: | |
Keywords: | Cc: |
Description
I'm using the floating toolbar on an area with the contenteditable attribute. I am trying to prevent the toolbar from moving when the page is scrolled. I would like it to remain permanently in one position, regardless of how the window is scrolled.
At the moment I am trying to use the scroll.ckeditor event on the window object to override the default settings, but it would be much more preferable if I could specify "scrollBehaviour: static" or something when initialising ckeditor.
You can use either divarea plugin http://sdk.ckeditor.com/samples/fixedui.html or inline editor with sharedspaces plugin and toolbar container set to position:fixed - http://sdk.ckeditor.com/samples/sharedspace.html
I recommend the sharedspaces solution.