Thread:Extension talk:VisualEditor/no templates edition

After having fixed last error (Error: Unknown dependency: schema.Edit), now it's the template edition which doesn't work, and it did before. This is the error I'm having:

Uncaught TypeError: Cannot read property 'layout' of undefined

Any ideas?

thanks.

Robert