Re: Adding Link to highlighted text makes text dissapear in firefox 3

  •  07-08-2008, 11:25 AM

    Re: Adding Link to highlighted text makes text dissapear in firefox 3

    Adam,
     
    I doesn't seem to be deleting the highlighted text anymore. I tested with different amounts of text and different variations of text/html. I'm not sure if I just didn't run into it while testing since the problem is random.  I did however notice that when highlighting over a certain amount of text (usually a larger amount) and adding a hyper-link it caused the text to randomly break at certain points. By break i mean simulate a <br /> tag. I did get the following javascript errors reported in firebug when using the Insert Hyper-Link button:
     
    I noticed these error occur more often now:
     
    Element referenced by ID/NAME in the global scope. Use W3C standard document.getElementById() instead.
    [Break on this error] undefined
    Dialog_Tag_A.js 
     
    Use of releaseEvents() is deprecated. To upgrade your code, use the DOM 2 removeEventListener() method. For more help http://developer.mozilla.org/en/docs/DOM:element.removeEventListener
    [Break on this error] var OxO27e0=["isWinIE","isGecko","isSafa...ow[OxO27e0[0xb7]]=CuteEditorInitialize ;
    Loader.js
     
    uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsISelection.addRange]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://cutesoft.net/asp/CuteEditor_Files/scripts/gecko_Loader/Loader.js :: Ox881 :: line 1" data: no]
    [Break on this error] var OxO27e0=["isWinIE","isGecko","isSafa...ow[OxO27e0[0xb7]]=CuteEditorInitialize ;
    Loader.js
     
    Use of captureEvents() is deprecated. To upgrade your code, use the DOM 2 addEventListener() method. For more help http://developer.mozilla.org/en/docs/DOM:element.addEventListener
    [Break on this error] var OxO27e0=["isWinIE","isGecko","isSafa...ow[OxO27e0[0xb7]]=CuteEditorInitialize ;
    Loader.js
View Complete Thread