Skip to main content

Change the default WYSIWYG editor

To change the default WYSIWYG editor provided with Strapi's admin panel, several options are at your disposal:

If you choose to use the extensions system, create your WYSIWYG component in the /src/admin/extensions folder and import it in the admin panel's /src/admin/app.[tsx|js] entry point file, then declare the new field with the app.addFields() function as follows:

/src/admin/app.js
// The following file contains the logic for your new WYSIWYG editorπŸ‘‡
import MyNewWYSIGWYG from "./extensions/components/MyNewWYSIGWYG";

export default {
bootstrap(app) {
app.addFields({ type: "wysiwyg", Component: MyNewWYSIGWYG });
},
};