- Create a folder named
patches
- Paste the code above and rename the file to
froala-editor+4.0.10.patch
- Replace your froala version with the one provided below
"froala-editor": "^4.0.10",
- run
yarn add patch-package
- run
npx patch-package froala-editor
- Profitt!