using styles in WYSYWIG

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Willie B Hoffman
Posts: 6
Joined: Fri 11. Mar 2011, 21:36

using styles in WYSYWIG

Post by Willie B Hoffman »

Hi
Is there a way to use styles (classes) in the WYSYWIG editing mode?

I want to display a list with some items indent. In normal html I would define a style with some padding-left. What can I do here?

Any ideas? workarounds?
" If everyone is happy with you, then surely you have made many compromises in your life " (W. Shakespeare)
User avatar
Oliver Georgi
Site Admin
Posts: 9889
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: using styles in WYSYWIG

Post by Oliver Georgi »

Have a look at template/config/ckeditor. In the files there you can define custom styles and settings for CKEditor.

Read more in the CKEDitor docs:
http://docs.cksource.com/CKEditor_3.x/D ... ide/Styles
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: using styles in WYSYWIG

Post by update »

You even can connect the editor with your CSS - this will make it even more fun! Besides that you keep your system clean and CMS-conform and homogeneous this way...
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Post Reply