#3423: Unable to outdent when editor.config.indentUnit != 'px'
-------------------------+--------------------------------------------------
Reporter: highjinx_53 | Owner:
Type: Bug | Status: new
Priority: Normal | Milestone:
Component: General | Version: SVN (CKEditor)
Keywords: |
-------------------------+--------------------------------------------------
If the editor configuration is set to use an indent unit other than px
(e.g. 'pt'), outdenting does not work. This is because the indent
detection logic uses getComputedStyle, which returns the indent in pixels.
One solution is to mimic V2 behavior and use getStyle instead of
getComputedStyle. Attached is a patch which implements this.
--
Ticket URL: <http://dev.fckeditor.net/ticket/3423>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac