Typography Trials: Getting rid of line breaks!
Posted: 25 June 2008 02:16 PM   [ Ignore ]  
Lab Assistant
Avatar
RankRank
Total Posts:  142
Joined  05-22-2008

Hi All-
I guess I don’t quite understand the way in which EE outputs xhtml. I’m working on a site (www.livinghopeineugene.com) and I want the non-tech-savvy client to be able to add photos, unordered lists, etc to the entries. It appears that the only way to do this out of the box with EE, is to have the client use the buttons to help outline content with HTML tags (not extremely intuitive). Next, I’m finding that even coding the content in XHTML isn’t enough, because if you try to lay out an img tag or an ul on separate lines to make it readable, EE adds line break tags.

I’ve tried the TinyMCE extension and find that that muddies the waters because it has similar problems and occasionally outputs Word formatting and inline CSS styling when the client copy and pastes from Word.

Does any of this sound familiar to any of you? Any ideas/resources about formatting content in EE would be helpful.

 Signature 

Josh Clark
I design at Origen Creatives, Blog at Josh Clark Words and have started to Twitter in Haiku.

Profile
 
 
Posted: 25 June 2008 02:30 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15368
Joined  05-15-2004

I use Smartypants & Markdown for that purpose. It’s not exactly WYSIWYG, but I found it intuitive enough even for semi computer-literate users.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 25 June 2008 06:17 PM   [ Ignore ]   [ # 2 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  142
Joined  05-22-2008

Thanks Ingmar-
However, I must be really dumb, because I can’t quite tell what these two things do and how they help with the problem. Can you help me out, as I must be missing something.

Thanks a ton!

 Signature 

Josh Clark
I design at Origen Creatives, Blog at Josh Clark Words and have started to Twitter in Haiku.

Profile
 
 
Posted: 26 June 2008 12:23 AM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15368
Joined  05-15-2004

Well, Smartpypants really was an afterthought, as you were trying to “get rid of linebreaks”, and it also can help with pasted Word documens a lot.

I don’t use TinyMCE or FCKeditor, because I don’t like the code they produce. In short, there is no WYSIWYG editor good enough just yet. So, the next best thing is an editor that supports an alternative notation, like Markdown or Textile. In all these cases, you would not use Formatting: XHTML, but let another plugin handle that.

I’d suggest to give MarkitUp a shot, there’s a nice extension by Ryan Masuga.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 02 July 2008 01:30 PM   [ Ignore ]   [ # 4 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  142
Joined  05-22-2008

Thanks Ingmar-
I’ve been out for awhile, but this is helpful. I’m not a real fan of what TinyMCE does to my code either. I’ve noticed in the demos of EE2 that there appears to be improvements in the publish area…do you have any sense as to whether this is going to trickle down into typography?

 Signature 

Josh Clark
I design at Origen Creatives, Blog at Josh Clark Words and have started to Twitter in Haiku.

Profile
 
 
Posted: 02 July 2008 01:45 PM   [ Ignore ]   [ # 5 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15368
Joined  05-15-2004

Sorry, there’s no way of knowing. I am not even sure it’s been decided yet…

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 02 July 2008 09:09 PM   [ Ignore ]   [ # 6 ]  
Research Assistant
RankRankRank
Total Posts:  418
Joined  12-22-2003

Ingmar:

I’m curious if you’ve tried wysiwygPro, and if so, what you think of it. It produces valid code (albeit not in the way I would normally code, but I’m not an expert!).

Just curious.

Frank

Profile
 
 
Posted: 03 July 2008 12:15 AM   [ Ignore ]   [ # 7 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15368
Joined  05-15-2004

Not really, no, but the quick look I took had me not overly excited. For starters, they only support a handful of browsers (Opera, my browser of choice, not being among them).

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64908 Total Logged-in Users: 39
Total Topics: 81852 Total Anonymous Users: 25
Total Replies: 440060 Total Guests: 222
Total Posts: 521912    
Members ( View Memberlist )