Module for Orchard Core. CKEditor 5 is an ultra-modern JavaScript rich text editor.
This module is referencing a stable build of Orchard Core (1.8.2
).
Based on https://github.com/ThisNetWorks/ThisNetWorks.OrchardCore.CKEditor project. Thanks to @deanmarcussen
In order to build CKEditor you need Node.js.
Packages are tested with [email protected]
and [email protected]
# Navigate to main folder where ckeditor config is
cd src/Emrah.OrchardCore.CKEditor/Assets/scripts/ckeditor5-build-classic-orchardcore
# install packages
npm install
# build with webpack
npm run build
This will create a custom build in ~/wwwroot/scripts/ckeditor-classic-orchardcore
directory.
If you wish to change filename or output directory you need to update webpack.config.js
.
After that you need to update HtmlBodyPart-CKEditor.Edit.cshtml and
HtmlField-CKEditor.Edit.cshtml files with correct file path.