Hi guys, I really need some help and if someone is that much generous to help me out ill appreciate it.
I didnt found any related answer in documentation or in other topics.
Here is my problem:
I have blocks of text which are consisted of h1 and div and i need to change position of inline ckeditor on fly depending on how much is height of lets say h1 and I am trying to do that with floatSpaceDockedOffsetY, and I want to do that without destroying current instance and making new one because its a lot of presure to server cuz its changing on every click so i just need some kind of edit inline instance.
Here is some of my code so you can see what im trying to achive.
note: the code is not 100% full i removed most of it so you can easily see what is going on
CKEDITOR.on('instanceReady', function (event) {
event.editor.on('focus', function (instance) {
// here i take height of that h1 and depending of that height i want to set new offset
toolbarOffset = $('#'+instance.editor.name).parent().children('h1').height();
//here should come some code which will edit current inline editor and do reposition
editor.config.floatSpaceDockedOffsetY = toolbarOffset + 12;
...
Thank you for reading this.