Hi. I am new to WYMeditor, and while trying to integrate it into a page I'm creating, I ran into a strange error:
[Using Firebug] details.tags is undefined
'expr' : WYMeditor.Helper.trim((...s.expressions||details.tags).join(', '))
[in] http://localhost/someadress/jquery.wymeditor.js (line 3732)
This error happens only when a try to define some inline styles or trying to point to an external stylesheet. If I leave the classes field empty, It works just fine.
Am I doing something wrong? I couldn't seem to find anything that resembles my particular problem in the forum, examples or documentation.
In case it matters, this is the way I use WYMeditor:
<script type="text/javascript" src="wymeditor/jquery/jquery.js"></script>
<script type="text/javascript" src="wymeditor/wymeditor/jquery.wymeditor.js"></script>
<script type="text/javascript">
jQuery(function() {
jQuery('.wymeditor').wymeditor({
stylesheet: 'styles/styles.css', //styles to load
skin: 'compact' //skin
});
});
</script>
Thanks in advance.