wysiwyg class links

4 posts by 2 authors in: Forums > CMS Builder
Last Post: April 14, 2011   (RSS)

Re: [rez] wysiwyg class links

By Jason - April 13, 2011

Hi,

Take a look at this post:
http://www.interactivetools.com/forum/gforum.cgi?post=79585#79585

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] wysiwyg class links

By rez - April 13, 2011 - edited: April 13, 2011

Thanks,
I saw that post but it seems to be referring to the classes on the toolbar for text formatting. When you highlight text and click the link button, a pop-up appears with specific classes for the link in a drop menu. This is where i want my custom class. This is different, right?

Re: [rez] wysiwyg class links

By Jason - April 14, 2011

Hi Rez,

Okay, I see what you're trying to do.

Open up cmsAdmin/lib/wysiwyg.css

At the bottom of the file you'll see this:

.exampleClass { color: red; font-size: 28px; }

Below this, you can add any CSS classes you want. When you're done that, save the file and log into CMS Builder. When you highlight a piece of text in your wysiwyg field and click on the link button you'll have a drop down called "class". In this drop down you should see the classes you had added to the file.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/