Widgets inside a text-editor