Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#8740 closed New Feature (duplicate)

Please add New Layer with Absolute Position button

Reported by: dallas Owned by:
Priority: Normal Milestone:
Component: General Version: 3.6.2
Keywords: Cc:

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.

Here was my forum description: http://cksource.com/forums/viewtopic.php?f=6&t=24738&sid=c3261aea87ae963506e560bf424dae41


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)

comment:1 Changed 6 years ago by Jakub Ś

Keywords: new layer absolute positioning removed
Resolution: duplicate
Status: newclosed

This is a DUP of #842

unless I would add my own source code object

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

Last edited 6 years ago by Jakub Ś (previous) (diff)

comment:2 Changed 6 years ago by Jakub Ś

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.

Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy