#2848: suggestion: make hidden element actually hide in IE too, x-browser 
behavior
-------------------------------------------------------------------------------+
 Reporter:  saul11                                                             
|       Owner:     
     Type:  New Feature                                                        
|      Status:  new
 Priority:  Normal                                                             
|   Milestone:     
Component:  General                                                            
|     Version:     
 Keywords:  display none visibility hidden respected contentEditable behavior  
|  
-------------------------------------------------------------------------------+
 I think it's a good idea to make the behavior of hidden element the same
 in all browsers. This actually is doable in IE so I have found after lots
 of searching:

 Setting
 {{{
 FCK.EditorDocument.execCommand('RespectVisibilityInDesign', true, null);
 }}}
 makes display:none and visibility:hidden to be respected in editable
 documents (contentEditable=true).

 (Setting the second parameter to false instead of true will disrespect
 visibility, the default behavior of IE; and setting it to null will toggle
 the option.)

 See http://msdn.microsoft.com/en-us/library/aa770023(VS.85).aspx
 (IDM_RESPECTVISIBILITY_INDESIGN)

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2848>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to