Ephox EditLive customization error in javascript: getEditor is undefined

Hi,
I am trying to create a custom toolbar action using the documentation in page 42-43 of:

http://forum.percussion.com/attachment.php?attachmentid=383&d=1246383678

The javascript seems to fail as it keeps giving me this error message:

Line: 272
Error: ‘getEditor’ is undefined

I tried to debug and just as I thought, there is not such javascript function as ‘getEditor(…)’.
So what am I missing ?