Now We’re Cooking With Gas
I haven’t given up on MT-Textile; to be fair I haven’t given it much of a chance. But when I saw this post on the Movable Type Support Forums I knew I had to try something else. The promise of a WYSIWYG editor in MT? I had to try it.
Wow!
First impression is this thing rocks.
- Download htmlArea
- Follow instructions in jpatrick’s post
- Make the 2 small changes documented below
First, in the code that is inserted into the head of edit_entry.tmpl, change:
<script src="/htmlarea/editor.js" language="JavaScript1.2"><script>
to
<script src="<TMPL_VAR NAME=STATIC_URI>htmlarea/editor.js" language="JavaScript1.2"></script>
Second, in the code that is inserted into the body of edit_entry.tmpl, change:
_editor_url = ../htmlarea/";
to
_editor_url = "<TMPL_VAR NAME=STATIC_URI>htmlarea/";
Custom buttons can be added - I know I’ll want blockquote for sure. I’ll save that one for another night. I’ll also want to add this to the extended entry section (although I think I’ll do that in just a minute). Here is what it looks like for me when editing an entry. This entry in fact. I think I could get used to this.
Whoa! That’s not just gas, that’s bloody well rocket fuel! Why in the world would that not be part of the base release??? I bet it won’t work on a Mac, and that’s why.
Of course, it totally shows me up for the piker that I am. I wish I was completely sober and on a decent connection…I’d have it rolling in right now.
Wow! That’s some seriously invalid HTML!
lol, I noticed that myself. According to the docs you can associate a style sheet with it, I’ll leave that task for tomorrow…
oh, and much of the invalid HTML is coming from my templates - cleaning them up is on the to-do list.
Notice guys: Interactive tools is working on a mozilla version that will be platform independent!
WYSIWYG editor for Movable Type
John’s Jottings tells how to install a WYSIWYG edtor for Movable Type. I haven’t tried it yet, but it looks
Glad you like htmlArea John. Yes, we’ve got a Mozilla compliant version in development - stay tuned. It won’t be available for IE on the Mac until Microsoft makes contentEditable available on that platform, though.
Fraser Cain
interactivetools.com
I appreciated your offer over at Ye Olde Movable Type about helping me get htmlarea going on MT, but a short while after I originally posted about htmlarea (an earlier version of it)last August, I built another editor into MT v.2.2.1 that we’ve enjoyed quite a bit.
It has several more features than htmlarea including the handling of tables, divs and spans as well as providing global smilies and dingbats. As I remember, I actually hybred two wysiwyg editors I found at SourceForge that were in their embryonic stages.
I have just setup up a second Movable Type installation on DoveNet using v.2.6.2. For it, I used the more recent version 2 of htmlarea. I felt its simplier interface might be better for most of our bloggers. It works fine, but I think unmodified, it does suffer for lack of some of the features of our other wysiwyg editor.
I never had time to document the setup of the first editor and I don’t know if I’ll have a chance to do one for htmlarea either. If you would like to take a look at the other wysiwyg editor though, I could give you a login on Ye Olde Movable Type (which is currently still on the older MT setup) and let you take a look at it.
If you like it, I’ll try to scrounge up the source and mods I used to get it in MT. The only issue I’ve had with it is that at around 630px in its current configuration, it is a bit wider than would be ideal and I’ve not really had an opportunity to address that.
Interesting, the folks at Interactive Tools have a version of htmlarea for PHP Nuke that is somewhat more feature rich that the standard version is at this time. I used it in a site I’m building for an organization named KASAC (Kentucky Alcohol and Substance Abuse Consortium) http://www.dovenet.net/kasac It works beautifully with every text editing area in the site (it has bunches of them).
Bob
Update on htmlarea
I thought I would post an update regarding the htmlarea wysiwyg editor by Interactive Tools that some are using with Movable Type. A short while after I originally posted about htmlarea (an earlier version of it)last August, I built
Yet another add-on for MT
Good lord!!! I just read these post on the Movable Type support forum. It is basically the promise of WYSIWYG editing in MT [...] woooww… It only took 10 minutes, and I now have a WYSIWYG editor. We’ll see how things…
HTML for amnesiacs
John’s Jottings shows off his success with the WYSIWYG HTML editor for Movable Type. More instructions. Pretty picture here….
Hey John, I’ve heard a rumour that you’ve gone back to Textile. Care to elaborate? If you’re interested, we did come out with the much anticipated Mozilla 1.3 support I was proposing earlier. It’s also working with Pheonix as of last night’s build.
Well, rumors travel fast.
Yes, I have gone back to Textile but I’ll have another look at your Mozilla product. In a nutshell I found that what I publish is usually very simple and I’m trying to get my pages to validate under XHTML 1.0 Transitional.
HTMLArea > MT
Don’t miss this great help on integrating HTMLArea (the online-textfield-HTML-Editor that was mentioned here before) in MT. via blog.hebig.org >
Some Composite hurdles
A while ago there was some talk on the MovableType forums about getting a WYSIWYG (what you see is what…
Hi. Thanks for the info. Could you tell me if this can also work for the “Extended Entry”, textarea? Not just the “Entry Body”.
Thanks,
Siggi
Siggi - Yes, since each entry box in MT is a seperate text edit box you could place multiple copies within a single page, the only caveat being you need to make sure to name them differently.
Ok, thanks. But could you tell me how I can to that? What exactly should rename?
Another question: Can I use this to add smile buttons? How should I do that?
Thanks again!
Movable-Feast
It pays to lurk in the MT Support Forum from
I’ve installed htmlarea into my MT and everything works fine, except I cant asign multiple categories. The “multiple categories” link does not work
Any ideas?
p.s. I posted this queston also on MT support.
Easter Sunday
Well it’s Easter Sunday, and I’ve just worked out that it’s been 31 days since my last drink - having…
WYSIWG Posting in MT
I found this article today on how to add HTMLArea support to Movable Type. This is the same WYSIWG HTML editing widget which was recently added to the CVS version of Drupal….
This program needs too many steps to make it work right. If you are Really interested in a great tool to use for posting (just install and choose your blogger and go…), try W.Blogger at http://wbloggar.com/ It’s the only one you need.
This is cool!
I have to install this…right now!…
I’ve got HTMLArea running nicely in Movable Type, but I’m finding some oddness with how my RSS feeds are being generated: when Movable Type strips the HTML for certain aspects of the feed, it does not introduce a space between paragraphs or HTML tags. For example, HTMLArea seems to generate code that looks like this:
[h4]Heading[/h4][p]This is the first.[/p][p]This is second.[/p]
When Movable Type puts that in the RSS feeds, it becomes:
HeadingThis is the first.This is second.
Any way to fix that up in MT or HTMLArea somewhere?
HTMLarea - WYSIWYG for MT
John’s Jottings: Now We’re Cooking With Gas…