Minimal text editor with formula placeholder