Forum closed. New forum available at http://community.wymeditor.org/

release 0.4

Support forum for WYMeditor.

release 0.4

Postby Flavio on Fri Jun 29, 2007 1:11 pm

Hello to everyone, I'm new to this forum.
I'm an italian webmaster and found your editor while searching an editor which creates accessible code.

Your Editor is really really good, cause its simple to use and has got only the elements wich are really important,

Thank You for creating it.

Now I have a question I downloaded the WYMeditor 0.4 release.
But I can't make it work right.

The code I pasted in my html page is the following:

<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="jquery.wymeditor.js"></script>
<script type="text/javascript" src="jquery.wymeditor.hovertools.js"></script>
<script type="text/javascript" src="jquery.wymeditor.tidy.js"></script>
<script type="text/javascript" src="jquery.wymeditor.pack.js"></script>
<script type="text/javascript" src="xhtml_parser.js"></script>
<script type="text/javascript" src="jquery.wymeditor.tidy.js"></script>
<script type="text/javascript">

var $j = jQuery.noConflict();

$j(function() {

$j(".wymeditor").wymeditor({

//options
html: "<p>test<\/p>",
stylesheet: "style.css",
cssPath: "skins/default/screen.css",
lang: "de"
postInit: function() {
alert('OK');
}
});
});
</script>

AN javascript error occours:
line 2
caracter 24661
error ';' needed
code 0


This error occours from the moment i included the
jquery.wymeditor.pack.js file.

Also the style classes aren't loaded on my local host.

You can have a look at the tryout page on the following adress:
http://www.enolandia.com/prova/prova.html

Can someone help me????

Thank You very much

Flavio
Flavio
 
Posts: 1
Joined: Fri Jun 29, 2007 12:50 pm

Packed version broken

Postby bermi on Fri Jun 29, 2007 5:17 pm

Hi Flavio,

Thanks for reporting.

The javascript packer removed a semi-colon that was not supposed to remove.

Update your jquery.wymeditor.pack.js file with http://trac.wymeditor.org/trac/browser/ ... format=raw


[quote]Also the style classes aren't loaded on my local host.[/quote]

This might be a bad path / path security issue. Can you please report your Browser and OS?
--------------------------
http://www.bermi.org
http://www.akelos.org
bermi
 
Posts: 7
Joined: Wed May 02, 2007 6:11 pm
Location: Barcelona


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest