improve mdx editor