RTE not working in chrome and mozilla

Hi
    I have an urgent issue.. My RTE is not working in chrome and mozilla.. It is showing up in my dialog; but when i enter data and submit it is not storing in CRX. Also non of the plugins is active
Any help weill be appreciable
Thanks
Veena

Hi Sham
     After lot of debug i found out the following issues
In RTE if we put styles plugin only this issue is happening
The issue happens because the RTE is getting disabled because of the following in RichText.js
if (CQ.Ext.isIE) {
            var editorSheet = this.doc.createStyleSheet();
            for (cssIndex = 0; cssIndex < cssCnt; cssIndex++) {
                styleToAdd = cssToAdd[cssIndex];
                for (sheetIndex = 0; sheetIndex < styleSheetCnt; sheetIndex++) {
                    styleToCheck = styleSheets[sheetIndex];
                    rules = styleToCheck.rules;
                    ruleCnt = rules.length;
                    ruleToCopy = null;
                    for (ruleIndex = 0; ruleIndex < ruleCnt; ruleIndex++) {
                        ruleToProcess = rules[ruleIndex];
                        ruleText = ruleToProcess.selectorText;
                        if (ruleText == "." + styleToAdd) {
                            editorSheet.addRule(
                                    "." + ruleText, ruleToProcess.style.cssText);
                            break;
        } else {
            var styleDef = this.doc.createElement("style");
            styleDef.type = 'text/css';
            var cssText = "";
            for (cssIndex = 0; cssIndex < cssCnt; cssIndex++) {
                styleToAdd = cssToAdd[cssIndex];
                for (sheetIndex = 0; sheetIndex < styleSheetCnt; sheetIndex++) {
                    styleToCheck = styleSheets[sheetIndex];
                    rules = styleToCheck.cssRules;
                   ruleCnt = rules.length;
                    ruleToCopy = null;
                    for (ruleIndex = 0; ruleIndex < ruleCnt; ruleIndex++) {
                        ruleToProcess = rules[ruleIndex];
                        if (ruleToProcess.type) {
                            if (ruleToProcess.type == CSSRule.STYLE_RULE) {
                                ruleText = ruleToProcess.selectorText;
                                if (ruleText == ("." + styleToAdd)) {
                                    ruleToCopy = ruleToProcess;
                                    break;
                    if (ruleToCopy) {
                        cssText += ruleToCopy.cssText;
                        break;
            styleDef.appendChild(this.doc.createTextNode(cssText));
            headEl.appendChild(styleDef);
The above lines are from 650-701 in RichText.js of CQ5.4 . They have handled the code for IE seperately from lines 650-670
The error is happening in line number 679 ; Where the ruleCnt is returning null for some sheetIndex and so the code is breaking and the RTE is disabled.
If i add the following line of code
if(ruleCnt == null){
continue;
just after line 679 . This issue seems fixed. But i think it is not the proper way to fix it and it is only a temporary fix. I dont know if it is a CQ issue.
Does any one have any solution for this.
To replicate the scenario
Create a rtePlugin in ur richtext widget
add a styles dropdown with styles in it
run this in chrome or any other browser except IE
If you have a proper solution please let me know
Thanks
Veena

Similar Messages

  • Chat notification is not working in chrome and mozilla firefox

    Hi
       Chat notificatio is not working in chrome and mozilla firefox but it's working fine in IE, any solution ?
    Thanks
    Palani

    Hi sameer
        sound was good , I have another issue while call Adope API.   Am try to logout session using ajax call but i got error "Uncaught SyntaxError: Unexpected token < "  , did you have any alternate solution for this
    source code is
          $.ajax({
                        type: 'GET',
                        cache: false,
                        dataType: "jsonp",
                        contentType: "application/xml; charset=utf-8",
                        url: "http://meetxxxxxxx.adobeconnect.com/api/xml?action=logout",
                        success: function () {
                        error: function () {
    Thanks
    Palani

  • Window.close() not working in Chrome and Mozilla

    hello techies,
    I used the below code on one of my Sharepoint webpart page :
    setTimeout(function(){ window.close(); }, 3000);
    This script works fine on IE but not working on Moziila and Chrome.
    Any help will be appreciated

    Hi Sachin,
    Use following line of code, before window.close(), see if it helps you.
    netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserWrite");
    Thanks,
    Vivek
    Please vote or mark your question answered, if my reply helps you

  • Cross browser testing : Modifier Keys playback actions not working in chrome and Firefox

    Hi,
    In my work flow I have to select multiple items in list.So I have recorded 'Ctrl+Click' action to select list items.In Chrome and Firefox it is not selecting multiple Items.
    Even Ctrl+A,Ctrl+C,Ctrl+V also not working in chrome and Firefox.Complete modifier keys support is not observed in chrome and Firefox.Let me Know how to automate modifier keys actions in cross browser?
    Regards,
    Nagasree.

    Hi Nagasree,
    Welcome to MSDN forums.
    First,please make sure the Chrome and Firefox is supported by cross browser testing.
    Latest version of Chrome and Firefox supported by cross browser testing are Chrome version 38.0.2125.111 and
    Firefox 33.
    I doubt whether Chrome and Firefox in cross browser testing don’t support automating modifier keys or there is anything wrong on it if you are using supported browser. Since this issue is related to the Extensions tool
    Selenium components for Coded UI Cross Browser Testing, if possible, I suggest you post this
    issue here, click “Q AND A”, and then you could post this issue there, you would get dedicated
    support there.
    Thanks for your understanding.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Why two fingers sliding is not working in Chrome and PDf, why two fingers sliding is not working in Chrome and PDf

    Sometime two fingers sliding for scroll down is not working in Chrome and Pdf. I have to log out to make this work. I just bought this laptop a week ago, is it software's problem or just my laptop's problem. Thx,guys!

    having the same problem and i bought a brand spankin new retina 15'

  • Internal pdf links not working in chrome and firefox

    I have some PDF files that I am adding links to additional PDF files that are located in the same folder on our webserver using Acrobat Pro XI. The links work fine in IE and the other PDF files open up and display well in the IE browser, but the links don't even show up in Chrome and will not open in Firefox. Further, the links in Safari, deliver an error message pop up saying the file could not be opened. If you click OK, the file does open. Also, in Acrobat > Tools > Add or Edit Link, I can change the properties to "Open File" and pick the "Open in New Window" option, but when I save the changes and come back, the option has automatically changed back to "Execute a Menu Item" and of course, the file I'm linking to does not open in a new Window.  These files were originally created in Word by another person and the person who converted them to PDF added fillable form fields throughout the document prior to converting to PDF. The links I am adding are being added using Acrobat Pro XI in the PDF file. Should we insert the above-mentioned links in the Word docs prior to converting to PDF to ensure the links work in all browsers, or are these browser issues common to all internal PDF links?
    Please help!
    Thanks,

    Make sure that you are using the Adobe PDF NPAPI viewer for Chrome and Firefox.  Both Google Chrome and Mozilla Firefox now have their own default PDF viewers.
    To change Chrome's settings use this blog:  Change PDF Viewer back to Adobe’s in Google Chrome « Caveat Lector
    To change Firefox's settings use this:  How to disable the built-in PDF viewer and use another viewer | Firefox Help

  • Isdefined not working on chrome and safari

    Hello all,
    I have a simple coldfusion form which consisits of 2 pages
    The first page contains a form with a button inside:
    <cfform name="inputform" method="post" action="savetrap.cfm">
         <input type="submit" name="newrec" id="newrec" title="Start a new application" value="Start a new application" />
    </cfform>
    The second page, checks to see if the user clicked the button:
    <cfif (isDefined("form.newrec") AND form.newrec eq "Start a new application")>
          I have been clicked!   
    </cfif>
    Now this seems to work on my internet explorer, OPera and Mozilla browsers but fails to work on Chrome and Safari.  Can anybody help me in fixing this issue ?
    Many Thanks,
    G

    You don't say what's actually happening different between what you consider to be "working" and what you consider to be "not working".  So it's difficult to say too mucht hat's sensible about this.
    One sensible thing to say si that CF code runs on the CF server, and has no interaction with the browser at all, so IE, Opera, Chrome etc have no idea about CF.  So whatever is going wrong, it's not what you think it is.
    Give an adequate amount of detail, then we might be able to help you.
    Possibly read this before you repost:
    http://forums.adobe.com/thread/607238 (which is a sanitised version of this: http://catb.org/~esr/faqs/smart-questions.html)
    Adam

  • Tab navigation is not working on chrome and firefox

    Hi Every One,
    we are using jdev 11.1.1.6.
    Navigation across tabs on click of tab on key board is not working on firefox and chrome.
    Please help me with your inputs.
    Thanks in advance.
    Regards,
    Lavanya.

    Hi,
    can you be more explicit in explaining what you want to achieve and what is not working? You mean that the tab menus are not getting in focus using the tab key? Have you tried setting clientComponent=true on them?
    Frank

  • Gzip inflation of xml not working on chrome and safari

    My app downloads a number of xml files previously compressed using gzip, and staged in the amazon cloud (S3)
    with Content-Encoding=gzip and Content-type=application/octet-stream
    I obtain them using mx.rpc.http:HTTPService, with resultFormat="e4x"
    This has worked fine for me on Firefox, IE and Opera, but works neither on Chrome (21) nor safari, nor has it for a while.
    It is my understanding that the browser is expected to inflate the incoming file automatically, and forward the
    decompressed result to flash (4). Why is this not being done here? Do they expect a different content type?
    Are there any known browser settings that can remedy this?
    Thanks in advance for your attention.

    I found the following link illuminating. I followed the procedure on a test case and it worked for all
    browsers, including the troublesome webkit-based chrome and safari duo.
    Unfortunately it involves renaming content, which can be a real chore, for example
    the typical filename.xml.gz must be renamed to filename.gz.xml, and so forth for other
    mime types..
    http://internetmarketingbyme.com/74/gzip-compression-using-amazon-s3-cloudfront-cdn/

  • QT is not working on Chroma and Firefox

    I have the latest version of Snow Leopard.
    When I try to see the new videos on the Apple site the browsers (except for safari) ask me get QT.
    When I click on" download" an apple site screen says
    QuickTime is built into Mac OS X.
    I updated and everything.
    Whats happening?
    Thanks in adavance, guys.
    Ben

    Hi,
    can you be more explicit in explaining what you want to achieve and what is not working? You mean that the tab menus are not getting in focus using the tab key? Have you tried setting clientComponent=true on them?
    Frank

  • Gmail does not work under Chrome and iSO6. WHY?

    Just loaded iOS6. Pad2. Chrome browser.
    Gmail running on Chrome returns no email. Google Calendar on Chrome works, as well as Google Drive.
    Gmail running on Safari does work.

    Thanks for the suggestion Meg. I can't speak for the other poster, but I need GMail to work within the Chrome browser (rather than the iOS GMail app).
    This appears to be an Chrome issue on iOS 6 (not an Apple issue). I have the same problem on my iPhone after upgrading the OS today.

  • Cellular data not working on Chrome and Safari browser

    I have recently upgraded iOS 8 and facing many issues on my IPAD Air. Please help me how to resolve the issue.
    1. Safari and Chrome doesn't connect through Cellular data.
    2. Sometime out going message failed from inbuilt mailbox account.
    Thank You.

    When asking a question it is helpful to those who might reply if you provide information about the steps you've already tried to solve your problem. SInce I don't know those things I'll start with the first steps. Is Cellular Data turned on in Settings? If not turn it on. If it is on the try a reset of your iPad. Press and hold both the Home button and the Sleep/Wake button continuously until the Apple logo appears. Then release the button and let the device restart. You will not lose data doing this. It's like a computer reboot.

  • Form will not open with adobe reader when using chrome and mozilla

    The form opens fine in internet explorer, but when opened with chrome and mozilla it says that parts of the document could not be displayed and the 'submit form' and 'print' functions do not work? how do I get it so that the forms open with adobe reader as a pdf automatically instead of opening in another search engine tab?
    Thanks

    Hi
    Chrome and Firefox use their default PDF viewers instead of Adobe Acrobat / Reader and hence most PDFs will not be fully functional in those.
    For that you just need to change the settings :-
    http://helpx.adobe.com/livecycle/kb/xfa-forms-firefox-chrome.html
    Thanks and Regards
    Rahul JOshi

  • Flash buttons not working in IE7 and Chrome

    Here's my website where the problem is occuring www.bakercreative.co.uk
    As you can see the Flash buttons animate, but when clicked they should go to a new html page.
    I've tested it in IE8 and Firefox without any problems but it's not working in IE7 and Chrome.
    Does anyone know what the problem is? Could it be the html code or the flash file itself?
    Thanks

    Hi, Glad you were able to solve that issue with the buttons and Chrome. Any small thing can cause big problems!! LOL
    I'm sure IE7 will test out ok, IE6 did Your website is very nice and has a variety! I hope it all comes together for you.
    Thanks,
    eidnolb

  • Export vCard is not working on Chrome; on Chrome Version 40.0.2214.93 m; function works on Mozilaa and IE.

    Export vCard is not working on Chrome; on Chrome Version 40.0.2214.93 m; function works on Mozilaa and IE; is anyone else seeing this same issue?

    Update; my OS is Windows 7 Pro 64-bit v1.08.00.AF B09 SP1.   Same issue reported (by 7 others) at => https://discussions.apple.com/thread/6779059

Maybe you are looking for

  • Xcelsius - LiveOffice: Unable to refresh SWF File - LO 26608

    Hello, i have a problem updating crystal report data using the refresh button in the preview tab of Xcelsius. Both files (Crystal Report and Xcelsius File) are stored on the BOE Server and i configured two Live Office Connections from Xcelsius to Cry

  • Huge Time Machine Back Up

    I have been running Lion on my mid-2009 15" MacBook Pro for about three weeks.  Time Machine was able to find my previous back up volume on an external HD and keep on recording to it.  This morning I saw a 61.3 GB back up in progress!  I do not use t

  • HT5569 My iPod Touch Will Not Pick Up Wi-Fi Anywhere!!!! Why Not?

    My iPhone, My Computer and My Brother's iPhone all Pick Up The Wi-Fi in My House.. My iPod Touch Wont...BUT WHY NOT? I Did Everything Reset The Network Settings, Restored The Phone, Back Ups Etc. SOMEONE PLEASE HELP

  • My camera app wont open, My camera app wont open

    My camera app will not open i tap on the application then it freezes on the camera lens anamation where it is suppost to open along with photo booth and facetime i have already tryed to turn of the ipad and then turn back on also i tryed to reset by

  • Configuring EA2700 as second-level router

    I need to front-end my ISP's router with another, giving me a DMZ.  I have bought an EA2700 for this but I can't find how to configure it.  Can someone help? I plan to have the DMZ network as 10.1.2.0/24, with the ISP's router at 10.1.2.254 and the E