Changes between Version 2 and Version 3 of Ticket #4054


Ignore:
Timestamp:
Aug 11, 2007, 2:35:15 AM (13 years ago)
Author:
bill
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4054 – Description

    v2 v3  
    55Problem is that this.document.documentElement.innerHTML at this point is
    66{{{
    7 <head><style>body,html { background:transparent; padding: 0; margin: 0;}body{ top:0px; left:0px; right:0px;position: fixed; font:400 13px "Myriad Pro",Myriad,Arial,Helvetica,clean,sans-serif; min-height:1em; line-height:1.0}p{ margin: 1em 0 !important; }body > *:first-child{ padding-top:0 !important;margin-top:0px !important;}body > *:last-child { padding-bottom:0 !important; margin-bottom:0px !important;}li > ul:-moz-first-node, li > ol:-moz-first-node{ padding-top: 1.2em; } li{ min-height:1.2em; }</style>
    8 <link rel="stylesheet" type="text/css" href="http://mac.local/0.9/dojo/resources/dojo.css"></head>
     7<head>
     8<style>body,html { background:transparent; padding: 0; margin: 0;}body{ top:0px; left:0px; right:0px;position: fixed; font:400 13px "Myriad Pro",Myriad,Arial,Helvetica,clean,sans-serif; min-height:1em; line-height:1.0}p{ margin: 1em 0 !important; }body > *:first-child{ padding-top:0 !important;margin-top:0px !important;}body > *:last-child { padding-bottom:0 !important; margin-bottom:0px !important;}li > ul:-moz-first-node, li > ol:-moz-first-node{ padding-top: 1.2em; } li{ min-height:1.2em; }</style>
     9<link rel="stylesheet" type="text/css" href="http://mac.local/0.9/dojo/resources/dojo.css">
     10</head>
    911}}}
    1012The <body></body> tags are getting cutoff even though we set them.
     
    1517If I change 250 to 5000 it works.
    1618
    17 But I wondering why we have to set innerHTML at all.   Why not just pass the body text to _getIframeDocTxt()?  Is it so we can reset the editor text from a setValue() call?
     19But I'm wondering why we have to set innerHTML at all.   Why not just pass the body text to _getIframeDocTxt()?  Is it so we can reset the editor text from a setValue() call?