Improved inline editor, preventing issues with embedded content