Hello,
I would like to create a toolbar without editing area, and then use it as shared toolbar to edit divs in my page.
My best solution this far is this code.
But the problem is that the toolbar appear at 'topSPace' (this is manageable), but in spite of editingBlock : false, the iframe still show, thought there is no editing area. I mean there is only the borders.
Thx for your time.
Jujubre
I would like to create a toolbar without editing area, and then use it as shared toolbar to edit divs in my page.
My best solution this far is this code.
But the problem is that the toolbar appear at 'topSPace' (this is manageable), but in spite of editingBlock : false, the iframe still show, thought there is no editing area. I mean there is only the borders.
//create the toolbar CKEDITOR.replace( 'toolbar', { sharedSpaces : { top : 'topSpace' }, //toolbar : 'Basic', editingBlock : false, });
//dbclick on div, create the editing block $(id_div).bind('dblclick', function() { console.log('User dbclicked on ' + this.id); //create mofifiable area CKEDITOR.replace( this.id, { sharedSpaces : { top : 'topSpace' }, // Removes the maximize plugin as it's not usable // in a shared toolbar. removePlugins : 'maximize', }); });
Thx for your time.
Jujubre