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

Multiple containers classes

Discuss features, code, contributions, ideas, suggestions, ...
For bugs, patches and feature requests, please post on the Trac:
http://trac.wymeditor.org/

Multiple containers classes

Postby yahrou on Tue Jun 10, 2008 12:32 pm

Hello,

First, I'm really impressed by this wyMiswyg, and that's really a great idea.

I would have a question for you... Excuse me if the answers are obvious, but even If know javascript quite well, I never really worked with Jquery and so I'm not used to the syntax etc. I already tried to look into the doc and on jquery doc but I must be very bad in searching...

What expression should I use to have a class item allowed for a list of containers ? My class item is called "Red" and I want it to work on p and h1. I tried p|h1 but it doesn't work...

Thank you !
yahrou
 
Posts: 2
Joined: Tue Jun 10, 2008 11:14 am

Re: Multiple containers classes

Postby mr_lundis on Tue Jun 10, 2008 1:41 pm

The selector would be:
p,h1
Jonatan Lundin - designer, developer and forum moderator. You should follow me on Twitter!
mr_lundis
 
Posts: 335
Joined: Sun Dec 02, 2007 10:59 am
Location: Sweden

Re: Multiple containers classes

Postby yahrou on Tue Jun 10, 2008 2:18 pm

Thank's !
yahrou
 
Posts: 2
Joined: Tue Jun 10, 2008 11:14 am


Return to Developers

Who is online

Users browsing this forum: No registered users and 2 guests