Rewrite feature in the editor

A feature to rewrite AI output written by 'Write with AI', 'AI Operators' and 'AI connectors'.