Create NextJS Project1yarn create next-appInstall TinyMCE latest version1yarn add tinymce @tinymce/tinymce-react copy-webpack-pluginCopy TinyMCE files to public folder as self hostedCopy static files(tinymce files) to public folder. Edit filenext.config.js1234567891011121314151617181920212223242526272829/**@type{import('next').NextConfig} */constpath =require("path");constCopyPlugin=require("copy-webpack-plugin");constnextConfig = {reactStrictMode:true,swcMinify:true,future: {webpack5:true,},webpack:(config, { buildId, dev, isServer, defaultLoaders, webp
...
继续阅读
(47)