We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Textile Editor Helper (TEH) extension

Development and Programming

Ryan M.'s avatar
Ryan M.
1,511 posts
17 years ago
Ryan M.'s avatar Ryan M.

Agggh, I should have caught that myself. Thanks!

       
imagehat's avatar
imagehat
68 posts
17 years ago
imagehat's avatar imagehat

Good deal. I updated the download, so if you’re going to install it new somewhere else you may as well grab a fresh copy so the paths start out right. (That’s the only change so no need to reinstall where it’s working). Thanks for helping me knock the bugs out here!

       
Ryan M.'s avatar
Ryan M.
1,511 posts
17 years ago
Ryan M.'s avatar Ryan M.

It is working now, after that change, but I’ll download the newest version.

One thing I did note is that it seems to conflict with “Textarea Resizer”, which I use on almost every site. I don’t know enough about extensions to know where the fault lies there, but I thought I’d bring it to your attention!

       
Ryan M.'s avatar
Ryan M.
1,511 posts
17 years ago
Ryan M.'s avatar Ryan M.

May I add that it might be handy to throw a link to the right of, or below, the Textile buttons that says something like “View Textile Formatting Guide” - which could (maybe) open in a new window and lead the user to either the Textile Reference at Hobix or The Textile Reference Manual at Threshold State.

       
imagehat's avatar
imagehat
68 posts
17 years ago
imagehat's avatar imagehat

Hmmm… I’m not familiar with that one (though I’m now enjoying resizing all text areas natively in Safari 3) but I’ll try to check it out and see if it’s an extension conflict or a javascript thing.

       
jejuna's avatar
jejuna
105 posts
17 years ago
jejuna's avatar jejuna

First off, this extension is great, and I’ve installed it on several sites.

One thing I’ve noticed, though:

For bullets and numbering:

When I select text and click on either the bullet or numbering button, a space is inserted before the ” * ” or the ” # “.

Textile won’t render those as bullets or numbers. It has to be the first character in the line.

In other words:

  • list 1
  • list 2

renders:

<ul>
    <li>list 1</li>
    <li>list 2</li>
</ul>

When the first character in the line is a space, you just get this:

  • list1 * list2

It’s very confusing for the clients!

Anyone else notice this? I’ve tried it both FF and IE, and it’s the same. Any fixes?

       
Eric Barstad's avatar
Eric Barstad
198 posts
17 years ago
Eric Barstad's avatar Eric Barstad

I get the same thing as Debra.

       
Ryan M.'s avatar
Ryan M.
1,511 posts
17 years ago
Ryan M.'s avatar Ryan M.

Yes, me too. Extra space in there, which basically says ignore this line for Textile. I find I’m using this on quite a few sites recently, as I set almost everything to Textile.

       
imagehat's avatar
imagehat
68 posts
17 years ago
imagehat's avatar imagehat

Strange I didn’t notice that space before lists problem before but it looks like a problem with the original Slate plugin as it does the same thing on their demo page. I’ll see what I find out and post and update if I can get it resolved.

Thanks for the feedback!

       
Dane Thomas's avatar
Dane Thomas
139 posts
17 years ago
Dane Thomas's avatar Dane Thomas

Just wanted to give my thanks and support for this extensions.

I’m close to delivering a new site but I really don’t like the tinymce integration and think this gives a nice mix between going down that path and just using the default text editor.

Great work!

Looking forward to see this develop.

       
Jean-Pol's avatar
Jean-Pol
9 posts
17 years ago
Jean-Pol's avatar Jean-Pol

Hello, On my fresh new install (EE 1.6)the two links button act as Submit or Update button ??? Some times, on other buttons (lists) I must clic twice to see the textile tag. Any plan to insert image tag ? Or a textile help window ?

       
Ryan M.'s avatar
Ryan M.
1,511 posts
17 years ago
Ryan M.'s avatar Ryan M.

I’m trying to add a default button that takes an image and surrounds it with a div that floats left, and has a caption. Works great in Firefox, but in Safari I’m getting a weird error (see attached pic).

Here’s my new button code:



If you have an image in the body area, you select it and click the button, which results in the following:



All the user has to do then is set the width of the div to be the same as the width of the picture, and fill out the credit and description (or delete them, as they’re optional).

It’s a slick solution for the users and like I said, this works great in FF. Compare the two attached pics to see how it’s supposed to look, and how Safari is rendering it. For these more complex buttons, is there some way I should be escaping the markup so that Safari renders it correctly in the browser? I’ve tried a few different things, but if someone knows off the top of their head that would be great as I couldn’t get this error to go away.

       
imagehat's avatar
imagehat
68 posts
17 years ago
imagehat's avatar imagehat

ryan - try swapping the quote marks enclosing the strings in double quotes and using single quotes for the class parameters like so:



The TEH regexp’s are crazy, so I’m not exactly sure why that works but it does for me on a test install.

Let me know if that does it…

       
Ryan M.'s avatar
Ryan M.
1,511 posts
17 years ago
Ryan M.'s avatar Ryan M.

That worked! Thanks!

       
imagehat's avatar
imagehat
68 posts
17 years ago
imagehat's avatar imagehat

@mdesign - awesome, glad to hear it!

@Jean-Pol - I was finally able to reproduce the submit problem. Do you by chance have Solspace’s Tag module installed? I think there might be a javascript collision somewhere. I’ll have a fix in the next version…

Also just a note to anyone else watching the thread I’m working on an update that fixes the list issue, submit issue, and will add a help button (with configurable url in settings). Have to get through a client crunch but should be posting it in the next couple days.

       
1 2 3 4 Last

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.