Skip to Site Navigation | Skip to Content

Blog

Set up easy-to-use styles for your clients through "Text Editor Styles" in Light

Maybe you've got a particular style you want your client to be able to apply to an object when they are editing content in the text editor? Maybe you'd like for them to easily be able to set font color to a color you specify, or be able to create a special formatting on certain paragraphs. Now you can make this easy for them through new Text Editor Styles.  Text Editor Styles are available in Water, Sky and Light.

Here's an example of how I used a Text Editor Style to make things easier on myself when I am making blog posts.

Whenever I post a blog article that includes an image, I often like to style that image to float right and let the text wrap around it. Previously, I would go into the code view of the text editor and add these styles to the images inline.  Not a big deal, but it does take a little time. Plus, it's probably a little more complex of a task than you want to hand over to your clients.  So, here's what I did.

On the stylesheet for this website, I added the following lines of CSS:

				

 /* <textEditor> */

.blogImageFloat { float: right; margin-left: 10px; }

/* </textEditor>  */


		

The commented textEditor tags tell the system to extract those styles and place them into the text editor. So then when I go and open my text editor and click on the drop down that says "Apply CSS Class," I see the following:

You can see that in my CSS drop down I now have a .blogImageFloat class, which is what I defined in my CSS file. All I have to do is click on the object to which I want to apply the class (an image), then select the class from the drop down and boom, styles are applied much faster than manually adding inline styles to the HTML code.

This handy new feature not only allows you to provide a simple way for your clients to apply specific styles to items on their website, but it can also save you a lot of time when you are editing content as well.  Either way, Text Editor Styles are available now on all sites.  Enjoy!

8 comments (Add your own)

1. Blair Rorani wrote:
This is great. I was wondering how to do this. I was editing the html as you mention but this is much simpler.

Thu, March 27, 2008 @ 4:48 PM

2. Blair Rorani wrote:
Okay, I tried it and used this code: /* */ .featureImageFloat {float: right; margin-left: 30px; } /* */ But I don't see anything in my text editor - only clear. Any ideas?

Thu, March 27, 2008 @ 8:19 PM

3. Tim Wall wrote:
Blair, send us the URL of the site you are working on and we will take a look.

Fri, March 28, 2008 @ 8:47 AM

4. Orrin wrote:
Hello. Few people think more than two or three times a year; I have made an international reputation for myself by thinking once or twice a week. Help me! I can not find sites on the: Another love calculator. I found only this - body fat calculator . Calculator, it not has six effective scraps to manipulate into cost as achieved to the six accurate on the catholic. Going gold to determine powers to respect digits is an acceptable lean reason, and that is the patch of the talent input, calculator. Thanks :cool:. Orrin from Bolivia.

Sun, February 14, 2010 @ 4:15 AM

5. EvelynValenzuela wrote:

Wed, July 14, 2010 @ 2:16 PM

6. Jon wrote:
Am I doing something Wrong because this is not working

Wed, September 15, 2010 @ 6:52 PM

7. Tim Wall wrote:
Jon, if you could email our support team - support@publishpath.com - and give them the details on your site and where you're having the problem, they will be able to help you out. Thanks!

Wed, September 15, 2010 @ 9:51 PM

8. JoeDesigner wrote:
Any examples of Light templates using this great feature? Can't seem to get it to work either.

Sat, September 25, 2010 @ 2:45 PM

Add a New Comment

Enter the code you see below:
code
 

Comment Guidelines: No HTML is allowed. Off-topic or inappropriate comments will be edited or deleted. Thanks.