Note that there are some explanatory texts on larger screens.

plurals
  1. POmooWMD is Undefined?
    primarykey
    data
    text
    <p>First off here is the code! </p> <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;head&gt; &lt;link href="content/wmd.css" rel="stylesheet" type="text/css" /&gt; &lt;title&gt;some title &lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;div class="main"&gt; &lt;form&gt; &lt;h2&gt;Only teaxt area&lt;/h2&gt; &lt;div id="wmd-editor-uno" class="wmd-panel"&gt; &lt;div id="wmd-button-bar-uno" class='wmd-button-bar'&gt;&lt;/div&gt; &lt;textarea name='id-uno' id='id-uno'&gt;&lt;/textarea&gt; &lt;/div&gt; &lt;/form&gt; &lt;/div&gt; &lt;script type='text/javascript' src="Scripts/mootools-yui-compressed.js"&gt;&lt;/script&gt; &lt;script type='text/javascript' src="Scripts/moowmd.js"&gt;&lt;/script&gt; &lt;script type="text/javascript"&gt; var MyConfig = [ { input: 'id-uno', postfix: '-uno' }]; window.addEvent('domready', function() { window.MyMooWMD = new mooWMD.WMD(window.MyConfig); window.MyMooWMD.start(); }); &lt;/script&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>Bam!</p> <p>My problem is this, it doesn't work like the example at <a href="http://moowmd.awardspace.info/moowmd-tutorial.html" rel="nofollow noreferrer">mooWMD tutorial</a> all I get is an empty text area with the wmd.css style applied to it. I cant figure out what I could be doing wrong. All the file locations are correct but i get 'mooWMD' is undefined. I am at a loss any and all suggestions are appreciated.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload