What are Extensions in MediumEditor?
masterExtensions are custom actions or commands that can be passed into the extensions option during MediumEditor initialization. They allow you to:
- Add new functionality: Implement features like auto-link detection, keyboard shortcuts, or image drag-and-drop.
- Replace existing features: If an extension shares the same
nameas a built-in feature, it will replace the default implementation.
New extensions should be created by extending the MediumEditor.Extension object using MediumEditor.Extension.extend().