We are migrating CKEditor issue tracking to GitHub. Please, use GitHub to report any new issues.

The former tracking system (this website) will still be available in the read-only mode. All issues reported in the past will still be available publicly and can be referenced.

Important: we decided not to transfer all the tickets to GitHub, as many of them are not reproducible anymore or simply no longer requested by the community. If the issue you are interested in, can be still reproduced in the latest version of CKEditor, feel free to report it again on GitHub. At the same time please note that issues reported on this website are still taken into consideration when picking up candidates for next milestones.

Please add New Layer with Absolute Position button

Description

I have recently wrote on the forum to see if it is possible in the CKEditor to add a New Layer with Absolute Positioning. From my search so far this seems to be not possible unless I would add my own source code object with an absolute position and then I could move it around in the editor. It was suggested that I add a ticket to see about requesting this feature.

Why is there no button to insert a New Layer with Absolute Positioning in CKEditor?

I am able to do this with TinyMCE. The feature is called "Insert New Layer" and "Toggle Absolute Positioning."
I am also able to do this in Cute Editor for PHP. The feature is called "Insert Layer" and "Position Absolutely."

I am new to CKEditor and trying to figure out which editor is best for my needs on the site I am building. I know that I can add source html with absolute position then move the objects around. But I would like to be able to do it within the editor without having to add html code myself.

If this is not possible to do with a button on the toolbar, is there a plugin or something I can download to do this?

Change History (2)

Currently there is no such plugin available. The only way to position those dives is using styles attributes in div properties dialog (You don't have to type it on source).

Another option is that you can write your own (which is simple) plugin to insert such Div and another to make it positioned absolutely and not. More information on how to write plugins for CKEditor can be found here: ​http://docs.cksource.com/CKEditor_3.x/Tutorials

The advantage I see in CKEditor is that our editor allows for editing properties of such divs whereas other editors don't. This makes our editor IMO more flexible. What is more this flexibility will be improved if we decide to implement one-click layer divs.