Giter Site home page Giter Site logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
I should add: the visibility of the div is done with CSS.

Original comment by [email protected] on 30 Jul 2008 at 9:43

from wmd.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
I have same error, which occurs in wmd-base.js line 475

7.setTop=function(6f, 70, 71){
    var _72=_7.getPixelVal(_6f.style.top);
...

}

Uncaught TypeError: Cannot read property 'style' of null

Occurs while using jQuery Tabs, when WMD is on a hidden tab.

Original comment by [email protected] on 7 May 2010 at 3:57

from wmd.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
Same error, please fix...

Original comment by [email protected] on 23 Jul 2010 at 7:28

from wmd.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
Same problem at line 561: 
Error: uncaught exception: [Exception... "Component returned failure code: 
0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLTextAreaElement.selectionStart]"  
nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: 
/wmd-1.0.1/wmd/wmd-base.js :: anonymous :: line 561"  data: no]

Original comment by [email protected] on 15 Aug 2010 at 6:09

from wmd.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
I'm experiencing the same error.  The following error messages are repeated in 
a seemingly infinite loop.

This is from firebug in Firefox 3.6.8

First:
uncaught exception: [Exception... "Component returned failure code: 0x80004005 
(NS_ERROR_FAILURE) [nsIDOMNSHTMLTextAreaElement.selectionStart]" nsresult: 
"0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: 
http://localhost:3000/javascripts/wmd/wmd-base.js :: anonymous :: line 565" 
data: no]

Second:
[Break on this error] (no source for )
_6f is null
[Break on this error] var _72=_7.getPixelVal(_6f.style.top); 

Background:
My WMD include tag is nestled right against the closing body tag.  
I'm on OS X 10.6.4
Firefox 3.6.8

Context:
I experience the error when I use unobtrusive javascript to update the form 
container that holds my  WMD text field.



Original comment by [email protected] on 26 Aug 2010 at 2:53

from wmd.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 3, 2024
I get this error when I do not use the wmd library correctly. If the wmd editor 
is hidden when you load the page, then you need to add the following line 
BEFORE you load the wmd script: 

wmd_options = { autostart: false };

I recall there is something in the docs about it.


Original comment by [email protected] on 9 Oct 2010 at 4:46

from wmd.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.