Page 1 of 1

Issues with containers

PostPosted: Thu Jun 14, 2007 8:27 pm
by fonziguy
Hi

Firstly, this text editor is great. Over the past 10 months I've converted to CSS & web standards websites but since doing this I have been reluctant to give clients much control over content via the CMS due to the fact that the content they enter will be invalid. This will change now however after discovering WYMeditor :D

I've only just started using it however and am having problems.

In Firefox the containers aren't appearing when I type text or select a container and in Explorer they are appearing, but when I try to change the container the text disappears.

I have uploaded a test page
http://leemunroe.com/edit/test.asp

I appreciate any help and I hope someone out there can find my problem.

Cheers

PostPosted: Thu Jun 14, 2007 8:54 pm
by mac72
I had the same issue, but I noticed that it disappeared when I specified some default content.

See the customization page:
http://trac.wymeditor.org/trac/wiki/0.3/Customization

Also, I've noticed that if I've set any container to a H1,H2,H3, etc. then a carriage return will not start a new container. If the container is a paragraph, the carriage return works, though, and starts a new container.


Hope this helps,
Mike

PostPosted: Fri Jun 15, 2007 7:16 am
by jfh
Hi! Please RTFM :wink:
You need at least jQuery 1.1.3a

PostPosted: Mon Jun 18, 2007 5:49 pm
by fonziguy
Thanks for the reply guys, appreciate the help & I hate not being able to figure this out myself.

I checked out the demo and copied some code over to fill the editor with default text, however, now I can get it working in Firefox but in IE7 i get a Javascript error.

http://www.leemunroe.com/edit/test.asp

Any suggestions?

PostPosted: Mon Jun 18, 2007 7:40 pm
by fonziguy
Ok, I have no idea what the problem was but I have started afresh by removing all the code and starting again and it now works fine :D

Dear knows what was wrong, most likely a small spelling mistake or something common like that.

Thanks for the help.