Safari TextArea Bug

May 19th, 2007

So for the record, if you have a textarea in Safari that is set to display: none; You can't set it's content via JavaScript unless you show it first. So:

edCanvas.style.display = "inline";
edCanvas.innerText = body;
edCanvas.style.display = "none";

Really annoying. For those Ephox people using the latest version of our EditLive! WordPress plugin in Safari, that's where your content went. Pull an update from subversion soon and the issue should be fixed.

Correction. That should be edCanvas.innerText = body not edCanvase.value = body. If you set the value it still has problems. Also Andy reports in comments that a timeout might be needed - I have a shiny new MacBook Pro so mines fast enough to not need it. :)

Some Good News For The Week

May 19th, 2007

I've been in our San Mateo office the past week working with the sales and marketing folk which has been great, but also challenging and often frustrating. The challenge is in getting a grip on my new job as product manager, the frustrating from the initial objections we often get from clients as they try and guess what the reaction will be from their users instead of actually finding out. It's fair enough, that's all they have to go on but it's frustrating to have to try and share the experiences that we've seen with users giving our software rave reviews. It's also frustrating to hear negative things about software you've written - I always get so attached.

So I was very pleased to see a nice implication made by Steve Loughran about our editor today:

It makes a valid point. If you don't want rich media, if all you want is text and forms, then, assuming you don't want good text editing, web pages and AJAX is sufficient.

The link points to our Java-based editor landing page. Thanks for that Steve - now could I just get you in on a few sales calls?

Why You Should Use A Good Editor

May 19th, 2007

While most of the Ephox folk use EditLive! to edit their blog entries, there are some poor saps who are using a blog hosting service and can't (we've got some interns working on a standalone blog editor with EditLive!, but that'll take a while yet). This morning Antony learnt the value of a great editor the hard way when he copied and pasted from Microsoft Word into Typepad's default editor:

Antony’s Blog Post

Now I understand why so many of our users think our Microsoft Word filtering is so good…

Playing With Alfresco

May 19th, 2007

I've spent the day doing some work with our Alfresco integration to make it easier to install and a bit more maintainable. Fortunately the Alfresco team were kind enough to point me at their Module Management Tool which while being a bit rough around the edges is really quite cool. Basically, it takes the alfresco.war and a zip file containing the module you want to install and shoves the module into the war file, ready to be deployed. What's particularly cool is that it actually has version management so it knows if it's previously installed a module or if the installed module is more recent than the one you're installing etc.

There is one trap for the uninitiated though, if you get a NullPointerException when you run it (at line 241), make sure your module's zip file has the extension .amp. Took me quite a while to sort that out and Tomcat's caching drove me nuts, but otherwise I'm pretty happy with how easy it was.