Log in or register to post comments
Last post
ckeditor 4beta inline toolbar configuration
hey,

for my new cms i want to use the new ckeditor 4beta content editable function for direct inline editing.

With a self made ajax save button it works very great. :D

There are a few things i miss in the toolbar configuration.

My cms provides a administration toolbar at the top of every page. If i scroll down while im editing a contenteditable that is very high with ckeditor the ckeditor toolbar automatically is on top of the page too. My toolbar (its statically positioned too) will overlay a part of the ckeditor toolbar. Because its on top too and the z-index of my toolbar is higher.

How can i modify the ckeditor toolbar z-index? And how can i define the top value of the toolbar if it is in static-mode? I want the ckeditor toolbar hold a distance from the top of the page because of my own toolbar.

The z-index property beside is important because i have a few elements like dropdown menus that will overlay the ckeditor toolbar. For example thefree css dropdown menu (http://www.lwis.net/free-css-drop-down-menu/).

Any Idea? Thanks.
Re: ckeditor 4beta inline toolbar configuration
I'm not sure about that, but I remember these new config settings:
http://nightly-v4.ckeditor.com/ckeditor ... kedOffsetX

There are 2 pairs of x,y offsets - one for pinned mode and one for floating mode. There's no setting for z-index, but is a good idea to add it.

Piotrek Koszuliński (aka Reinmar)
CKEditor JavaScript Developer
--
CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+

Re: ckeditor 4beta inline toolbar configuration
Thx! It works!

This will define the minimum distance to the top of the page in pixels:

CKEDITOR.config.floatSpacePinnedOffsetY = 35;