Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CKEditor inline toolbar position

Simple question : how can I make the inline CKEditor toolbar float top right (or bottom right) of my editable element instead of the default top left position ?

Have been googling it but no luck so far :(

Thank you

like image 891
PinkTurtle Avatar asked Jun 05 '13 19:06

PinkTurtle


1 Answers

It does not have a configuration option for this. There are only four options for the X,Y offset in pinned and docked modes - e.g. config.floatSpacePinnedOffsetY.

The only idea that I have is implementing your own plugin like Floating Space, or modifying the current implementation.

And as the last resort, you can use the Shared Space plugin to place the toolbar in a container chosen by you and then position it as you wish. Check the second demo (Inline Editor with Shared Toolbar and Bottom Bar) on the SDK sample page for an example.

like image 103
Reinmar Avatar answered Sep 21 '22 17:09

Reinmar