Refactoring of the tutorial integrating an online editor