The code in the iframe looks like this:
<iframe id="englishDescEditor" width="100%" height="450"
style="border: none;" src="/html/js/editor/editor.jsp?
p_l_id=10152&p_main_path=%2Fen%2Fc&doAsUserId=fYEBeUwab1o
%3D&editorImpl=ckeditor&initMethod=getEnglishText&cssPath=%2Fhtml
%2Fthemes%2Fcontrol_panel%2Fcss&cssClasses=portlet+"
name="englishDescEditor">
<html>
<head>
<body onpageshow="null;event.persisted &&
CKEDITOR.tools.callFunction(0)">
<textarea id="CKEditor1" name="CKEditor1" style="visibility: hidden;
display: none;"></textarea>
<span id="cke_CKEditor1" class="cke_skin_kama cke_editor_CKEditor1"
lang="en" aria-labelledby="cke_CKEditor1_arialbl" role="application"
title=" " dir="ltr" onmousedown="return false;">
<span id="cke_CKEditor1_arialbl" class="cke_voice_label">Rich Text
Editor</span>
<span class="cke_browser_gecko cke_browser_quirks"
role="presentation">
<span class="cke_wrapper cke_ltr" role="presentation">
<table class="cke_editor" cellspacing="0" cellpadding="0" border="0"
role="presentation">
<tbody>
<tr style="-moz-user-select: none;">
<tr>
<td id="cke_contents_CKEditor1" class="cke_contents"
role="presentation" style="height:265px">
<iframe frameborder="0" allowtransparency="true" tabindex="0"
src="javascript:void(function(){document.open()%3Bdocument.close()%3B}
())" style="width:100%;height:100%">
<html dir="ltr">
</iframe>
</td>
</tr>
<tr style="-moz-user-select: none;">
</tbody>
</table>
<style>
</span>
</span>
</span>
<script type="text/javascript">
</body>
</html>
</iframe>


*********** on the <html dir="ltr"> code it is in this way:

html dir="ltr">
<head>
<body class="cke_show_borders" spellcheck="false">
<p>
<br type="_moz">
</p>
</body>
</html>

*******
Manually, the text is save in the paragraph

<p>
<br type="_moz">
</p>

Thank you!!!
On 5 dic, 06:08, Željko Filipin <zeljko.fili...@wa-research.ch> wrote:
> On Sun, Dec 4, 2011 at 8:10 AM, Erna Tercero <erna.terc...@gmail.com> wrote:
> > I have this element on a frame:
> > HTML Document
> > name=""
> > id=""
> > src=javascript:void(function(){document.open()
> > %3Bparent.CKEDITOR.tools.callFunction(72%2Cdocument)%3Bdocument.close()
> > %3B}())
>
> And the element is? Text field?
>
> Željko
> --
> watir.com/book - author

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to