refresh codemirror editor after create, sometimes it gets stuck until u click / type in it