4 of 7
4
Textile Editor Helper (TEH) extension
Posted: 21 May 2008 12:32 PM   [ Ignore ]   [ # 55 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  118
Joined  12-29-2004

Hi guys - Ryan, I wanted to say thanks for all your detective work - I’ve got at test install of playa and teh going now so I’ll see if I can get a fix going - probably later tonight. Sorry to have ignored this thread lately… have been swamped with client work.

Also, I like markitup, but not being able to do multi-line lists is a deal-breaker for me, otherwise I’d be much happier with a jQuery solution too. I don’t think the Slate guys are really using prototype for anything other than attaching the domready event and instantiating the class - if I can’t resolve the conflict cleanly I might try porting it. That was my plan for EE 2.0 anyway, unless something better comes along of course…

-mike

 Signature 

imagehat studio
the forum user formerly known as lavalamp

Profile
 
 
Posted: 21 May 2008 12:59 PM   [ Ignore ]   [ # 56 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1735
Joined  03-26-2006

Cool, a fix would be nice. I’m pretty close to having a Markitup custom field workable.

If TEH could be ported to jQuery, we might have a winner there, though! Thanks for looking into it.

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 21 May 2008 09:18 PM   [ Ignore ]   [ # 57 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1735
Joined  03-26-2006

This TEH alternative is shaping up nice (see attached screenshots). Per field settings, most importantly. I think it’s ugly as heck under the hood, but it seems to be working, at least.

I really should be working on client work right now…

Image Attachments
markitup2.pngmarkitup_settings.png
Click thumbnail to see full-size image
 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 21 May 2008 09:43 PM   [ Ignore ]   [ # 58 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1735
Joined  03-26-2006
lavalamp - 21 May 2008 12:32 PM

Also, I like markitup, but not being able to do multi-line lists is a deal-breaker for me

I didn’t understand what you meant by this at first, but now I think I get it: this thing doesn’t do lists well at all. In Textile mode, the last item always breaks off into another list, no matter what. I tried everything, short of resorting to full-on html. Is that what you were talking about?

Otherwise, this thing is crazy, and it loads extremely fast, even on my test page where I have three Markitup fields, each set to a different setting.

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 22 May 2008 03:45 AM   [ Ignore ]   [ # 59 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6579
Joined  04-15-2006

Are we going to get to see the finished extension soon Ryan? wink

Oh go on! Please, pretty please!

Looks great what you have done so far. Would love to see how it is all done though, I mean integrating something external into an extension. There’s quite a few things I’d like to do like that and give out to the EE community if only I had the knowledge of how to do it and this would be a great leap-board to learning all of that I reckon.

Best wishes,

Mark

 Signature 

Full List Of Plugins Here!! (16)
 
Retrieve Statuses
Maximum Posts Reached
Neat Link
Redirect
Fetch URI

Profile
 
 
Posted: 22 May 2008 08:34 AM   [ Ignore ]   [ # 60 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  118
Joined  12-29-2004

Well, I fixed the last call conflict (my bad with the TEH extension), but looks like even just including Prototype and disabling all other javascript causes errors with Playa, so no quick fix here from me unfortunately.

I think I’ll still look at getting rid of the Prototype dependency, since that’s silly anyway, but I’m not sure how quickly I can get that done unfortunately.

One question: do you guys think going the full custom field type is the way to go? My only issue there is how to handle flipping formatting back to “none” or “xhtml” to hide the editor. edit-add: duh, just took a closer look at the markitup fields, pretty slick!

 Signature 

imagehat studio
the forum user formerly known as lavalamp

Profile
 
 
Posted: 22 May 2008 08:41 AM   [ Ignore ]   [ # 61 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1735
Joined  03-26-2006

I know jQuery has a no conflict mode, but I’m not as familiar with Prototype. Does that have something similar? How exactly are you using it - to append the buttons to the fields?

If you did a “full” custom field, you could easily loop through those field types and look for those whose formatting is textile (actually that second step might even be redundant then). Then (with jQuery it would be pretty easy) to find the select box below the textarea and toggle the Textile editor buttons on/off based on whether it reads textile or not.

I’d love to take a stab at that but I’ve wasted enough time this week…I really have to get to the client work!

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 22 May 2008 09:53 AM   [ Ignore ]   [ # 62 ]  
Grad Student
Rank
Total Posts:  70
Joined  10-18-2002
mdesign - 21 May 2008 09:43 PM

I didn’t understand what you meant by this at first, but now I think I get it: this thing doesn’t do lists well at all. In Textile mode, the last item always breaks off into another list, no matter what.

I believe you may be referring to a Textile bug, for which there is a fix: see here and here.

Profile
 
 
Posted: 22 May 2008 10:03 AM   [ Ignore ]   [ # 63 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  118
Joined  12-29-2004

@Dan - think we might mean 2 different things here - Ryan might be experiencing the list bug, good call - I forgot about that since I fixed that in the EE textile plugin long ago. But above I actually was referring the fact that with TEH you can select a multi-line list and click the list button, and it formats each line with the asterisk for you (and even cleans up bad bullet characters on Mac), but with Markitup you have to select each list line individually and click the bullet button (unless I’m missing something)...that’s all I was referring to. It’s amazing how many lists I seem to always be pasting in and formatting so it’s the little things…

 Signature 

imagehat studio
the forum user formerly known as lavalamp

Profile
 
 
Posted: 22 May 2008 11:13 AM   [ Ignore ]   [ # 64 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1735
Joined  03-26-2006

I’ve run into both things.

1) In markitup, you do have select each list item individually to make a list…yuk. I’m not finding a fix for that. lavalamp - do you think it would be possible to alter markitup’s code with however you’re doing yours for lists?

2) Also, I’m using the Textile plugin under the hood for my markitup custom field - I guess you’d say as the parser. Is there something I’m supposed to to to that to help markitup render lists correctly? (actually that was due to the Textile bug Dan mentioned - I just tweaked the textile plugin and lists are working fine now).

I guess there’s really no reason I can’t release a down and dirty markitup Extension at this point. Although I totally agree with lavalamp - why the heck can’t you select multiple lines and convert that into a list all at once?

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 22 May 2008 12:00 PM   [ Ignore ]   [ # 65 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  172
Joined  12-08-2007

I want to state that I am very interested in your efforts in making a markitup extension for EE. Thanks for all your hard work on this. I can’t wait!

 Signature 

For a list of all the ways technology has failed to improve the quality of life, please press three.

Profile
 
 
Posted: 22 May 2008 12:22 PM   [ Ignore ]   [ # 66 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1735
Joined  03-26-2006
Scruffy - 22 May 2008 12:00 PM

I want to state that I am very interested in your efforts in making a markitup extension for EE. Thanks for all your hard work on this. I can’t wait!

If only I didn’t have so much client work right now! I’ll see what I can do. Probably early June, though.

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 16 June 2008 09:13 AM   [ Ignore ]   [ # 67 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  402
Joined  03-17-2006

Hey Ryan, What’s the status on your extension? I ask only because it’s “early June” and I would love to use it. wink

Profile
 
 
Posted: 16 June 2008 09:23 AM   [ Ignore ]   [ # 68 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1735
Joined  03-26-2006

Ignite, I started a thread about the Markitup extension, just so you know. I think it’s good enough to start out as a version 0.9, and I would really appreciate feedback. I’ll see if I can package it up tonight, and offer it for download with a few (friendly) warnings and instructions.

Sorry for the delay…been enormously busy with client work lately.

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 16 June 2008 09:35 AM   [ Ignore ]   [ # 69 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1735
Joined  03-26-2006

I’m not yet using the Markitup extension myself, though I’m going to have to start real soon, because I’m finding the “Playa” extension to be invaluable, and TEH and Playa just do not play nice together.

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 16 June 2008 08:13 PM   [ Ignore ]   [ # 70 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1735
Joined  03-26-2006

OK, this extension is now available at my Markitup Extension page. Give it a try and let me know what you think. I’m sure there will be suggestions, but hey, at least it’s out there.

There is also a thread about it here.

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 17 June 2008 09:35 AM   [ Ignore ]   [ # 71 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  172
Joined  12-08-2007

Thank you Ryan for your hard work on this. I have yet to try it out… but I have a good feeling it is going to help my clients a bunch.

Thanks!

 Signature 

For a list of all the ways technology has failed to improve the quality of life, please press three.

Profile
 
 
Posted: 02 July 2008 07:39 AM   [ Ignore ]   [ # 72 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  571
Joined  10-14-2005
mdesign - 21 May 2008 09:43 PM

In Textile mode, the last item always breaks off into another list, no matter what.

I think this is a Textile bug, see here: http://expressionengine.com/forums/viewthread/68575/

 Signature 

Nathan Pitman

Nine Four Ltd - a member of the EEPro Network

Profile
 
 
   
4 of 7
4
 
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: 65026 Total Logged-in Users: 41
Total Topics: 82115 Total Anonymous Users: 19
Total Replies: 441304 Total Guests: 199
Total Posts: 523419    
Members ( View Memberlist )
Newest Members:  meenoiYang.JianuoioitsukiNathan HammondalexcigadamstaneckiLucas Mayscybermilltstitt