Does tinyMCE support HR?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
sarah_h
Forum Members
Forum Members
Posts: 189
Joined: Tue Apr 25, 2006 8:30 am

Does tinyMCE support HR?

Post by sarah_h »

Hi

I'm using CMS Made Simple 1.1 "Samoa" on PC WIN XP and TinyMCY 2.2

We have a need to add horizontal lines between our paragraphs and wondered whether TMCE supports HR which pops in a horizontal rule into the document. I've seen this on other editors (I think!?, no, I'm fairly sure). I went to the toolbar setup in admin but noticed there was no option for an HR. Is this the case? Is it possible that I could somehow create a HR inside of Tiny MCE?

Thanks

Sarah
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm

Re: Does tinyMCE support HR?

Post by KO »

Open TinyMCE module setting in Admin Panel and toolbox tab or something like that. You see 2 lines that control what buttons are available. Just add "hr" separated with commas where you want to have that button.

br, K
sarah_h
Forum Members
Forum Members
Posts: 189
Joined: Tue Apr 25, 2006 8:30 am

Re: Does tinyMCE support HR?

Post by sarah_h »

Ah yes, that did it! Just a quick point: If the HR needs styling using CSS make sure these rules (if a thin hairline is needed) are used otherwise there's be problems between IE and FF.

hr {
border: 0;
height: 1px;
background-color: #ccc;
color:#ccc;
}

FF needs the BG color while IE does not!

HTH

Sarah
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm

Re: Does tinyMCE support HR?

Post by KO »

or another way...

margin:5px 0 0;
padding: 0 0 5px;
border:none;
border-top:1px solid #ccc;

br, K
sarah_h
Forum Members
Forum Members
Posts: 189
Joined: Tue Apr 25, 2006 8:30 am

Re: Does tinyMCE support HR?

Post by sarah_h »

KO wrote: or another way...

margin:5px 0 0;
padding: 0 0 5px;
border:none;
border-top:1px solid #ccc;

br, K
Yep, that works too! The default HR is too 1996 and using these rules make it a bit more subtle and configurable!!
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm

Re: Does tinyMCE support HR?

Post by KO »

yes.. thank God there is some ways make them look like this day...
Post Reply

Return to “CMSMS Core”