Hi, I have found it does work but won't if the browser is not in my admitted focus. I am using a MAC BookPro. Has anyone else experienced this?
Thank you, Joe On Thu, Jan 5, 2012 at 4:41 PM, Joe Fl <[email protected]> wrote: > Hi All, > > We recently updated our rich text editor in our app and I can no > longer type into. I can use the following line and it will place the > cursor within the editor but nothing is typed. > > @browser.frame(:title,'Rich text editor, event_description, press ALT > 0 for help.').send_keys "DID THIS TYPE IN THE EDITOR?" > > > Before the change this was my line of code that worked. > > @browser.frame(:id,"roundtable_descriptionWidgIframe").send_keys > "Comment" > > > > I have included the HTML. > > <span class="cke_browser_gecko" role="presentation"> > <span class="cke_wrapper cke_ltr" role="presentation"> > <table class="cke_editor" cellspacing="0" cellpadding="0" border="0" > role="presentation"> > <tbody> > <tr role="presentation" style="-moz-user-select: none;"> > <tr role="presentation"> > <td id="cke_contents_event_description" class="cke_contents" > role="presentation" style="height:200px"> > <iframe frameborder="0" allowtransparency="true" tabindex="0" src="" > title="Rich text editor, event_description, press ALT 0 for help." > style="width:100%;height:100%"> > <html class="CSS1Compat" lang="en" dir="ltr"> > <head> > <title data-cke-title="Rich text editor, event_description, press ALT > 0 for help.">Rich text editor, event_description, press ALT 0 for > help.</title> > <link href="http://50.57.144.41/javascripts/ckeditor/contents.css" > rel="stylesheet" type="text/css"> > /* > Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights > reserved. > For licensing, see LICENSE.html or http://ckeditor.com/license > */ > body > { > /* Font */ > font-family: Arial, Verdana, sans-serif; > font-size: 12px; > /* Text color */ > color: #222; > /* Remove the background color to make it transparent */ > background-color: #fff; > } > ol,ul,dl > { > /* IE7: reset rtl list margin. (#7334) */ > *margin-right:0px; > /* preserved spaces for list items with text direction other than the > list. (#6249,#8049)*/ > padding:0 40px; > } > </link> > <style data-cke-temp="1" type="text/css"> > img.cke_flash{background-image: url(http://50.57.144.41/javascripts/ > ckeditor/plugins/flash/images/placeholder.png?t=B8DJ5M3);background- > position: center center;background-repeat: no-repeat;border: 1px solid > #a9a9a9;width: 80px;height: 80px;} > form{border: 1px dotted #FF0000;padding: 2px;} > img.cke_hidden{background-image: url(http://50.57.144.41/javascripts/ > ckeditor/plugins/forms/images/hiddenfield.gif?t=B8DJ5M3);background- > position: center center;background-repeat: no-repeat;border: 1px solid > #a9a9a9;width: 16px !important;height: 16px !important;} > img.cke_iframe{background-image: url(http://50.57.144.41/javascripts/ > ckeditor/plugins/iframe/images/placeholder.png?t=B8DJ5M3);background- > position: center center;background-repeat: no-repeat;border: 1px solid > #a9a9a9;width: 80px;height: 80px;} > a.cke_anchor,a.cke_anchor_empty,a[name],a[data-cke-saved-name] > {background:url(http://50.57.144.41/javascripts/ckeditor/plugins/link/ > images/anchor.gif?t=B8DJ5M3) no-repeat left center;border:1px dotted > #00f;padding-left:18px;cursor:auto;} > img.cke_anchor{background:url(http://50.57.144.41/javascripts/ckeditor/ > plugins/link/images/anchor.gif?t=B8DJ5M3) no-repeat left center;border: > 1px dotted #00f;width:16px;min-height:15px;height:1.15em;vertical- > align:text-bottom;} > div.cke_pagebreak{background: url(http://50.57.144.41/javascripts/ > ckeditor/plugins/pagebreak/images/pagebreak.gif?t=B8DJ5M3) no-repeat > center center !important;clear: both !important;width:100% !important; > _width:99.9% !important;border-top: #999999 1px dotted ! > important;border-bottom: #999999 1px dotted !important;padding:0 ! > important;height: 5px !important;cursor: default !important;} > .cke_show_blocks p,.cke_show_blocks div,.cke_show_blocks > pre,.cke_show_blocks address,.cke_show_blocks > blockquote,.cke_show_blocks h1,.cke_show_blocks h2,.cke_show_blocks > h3,.cke_show_blocks h4,.cke_show_blocks h5,.cke_show_blocks > h6{background-repeat: no-repeat;background-position: top left;border: > 1px dotted gray;padding-top: 8px;padding-left: 8px;}.cke_show_blocks > p{background-image: url(http://50.57.144.41/javascripts/ckeditor/ > plugins/showblocks/images/block_p.png);}.cke_show_blocks > div{background-image: url(http://50.57.144.41/javascripts/ckeditor/ > plugins/showblocks/images/block_div.png);}.cke_show_blocks > pre{background-image: url(http://50.57.144.41/javascripts/ckeditor/ > plugins/showblocks/images/block_pre.png);}.cke_show_blocks > address{background-image: url(http://50.57.144.41/javascripts/ckeditor/ > plugins/showblocks/images/block_address.png);}.cke_show_blocks > blockquote{background-image: url(http://50.57.144.41/javascripts/ > ckeditor/plugins/showblocks/images/ > block_blockquote.png);}.cke_show_blocks h1{background-image: > url(http://50.57.144.41/javascripts/ckeditor/plugins/showblocks/images/ > block_h1.png);}.cke_show_blocks h2{background-image: url(http:// > 50.57.144.41/javascripts/ckeditor/plugins/showblocks/images/ > block_h2.png);}.cke_show_blocks h3{background-image: url(http:// > 50.57.144.41/javascripts/ckeditor/plugins/showblocks/images/ > block_h3.png);}.cke_show_blocks h4{background-image: url(http:// > 50.57.144.41/javascripts/ckeditor/plugins/showblocks/images/ > block_h4.png);}.cke_show_blocks h5{background-image: url(http:// > 50.57.144.41/javascripts/ckeditor/plugins/showblocks/images/ > block_h5.png);}.cke_show_blocks h6{background-image: url(http:// > 50.57.144.41/javascripts/ckeditor/plugins/showblocks/images/ > block_h6.png);} > .cke_show_borders table.cke_show_border,.cke_show_borders > table.cke_show_border > tr > td, .cke_show_borders > table.cke_show_border > tr > th,.cke_show_borders > table.cke_show_border > tbody > tr > td, .cke_show_borders > table.cke_show_border > tbody > tr > th,.cke_show_borders > table.cke_show_border > thead > tr > td, .cke_show_borders > table.cke_show_border > thead > tr > th,.cke_show_borders > table.cke_show_border > tfoot > tr > td, .cke_show_borders > table.cke_show_border > tfoot > tr > th{border : #d3d3d3 1px dotted} > html { height: 100% !important; } > img:-moz-broken { -moz-force-broken-image-icon : 1; width : 24px; > height : 24px; } > html { _overflow-y: scroll; cursor: text; *cursor:auto;} > img, input, textarea { cursor: default;} > </style> > </head> > <body class="cke_show_borders" contenteditable="true" > spellcheck="false"> > <p> > </body> > </html> > </iframe> > </td> > </tr> > <tr role="presentation" style="-moz-user-select: none;"> > </tbody> > </table> > <style> > </span> > </span> > > > > Any help would be appreciated. > > Thank you in advance > > Joe > > -- > Before posting, please read http://watir.com/support. In short: search before > you ask, be nice. > > [email protected] > http://groups.google.com/group/watir-general > [email protected] -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
