-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use CKEditor as a dependecy #262
Comments
Let's treat this issue as an umbrella one. We can split work into couple of steps:
|
Another requirement to keep in mind: #226 (comment). Build's output path and bundler input and output paths should be configurable via CLI (at least). |
I tested as much as possible usage of |
We agreed with @pjasiun that we can close this issue and further topics will be described in separate tasks. |
Another project should be able to use CKEditor 5 as a dependency. It should be also possible to watch changes in the CKEditor plugin so the development of the custom project can be done together with some CKEditor5 plugins, without a need to rebuild CKEditor each time.
The workflow should be as described. Note that these are example names of folders and commands, they can be different then names suggested in other tickets.
ckeditor5-*
projects, it needs, listed in thepackage.json
. Some CKEditor5 tools and a compiler are also included there. Note that it does not need mainckeditor5
there. The custom project contains also agulpfile.js
with exposed neededckeditor5
commands.npm install
dependencies are installed to thenode_modules
folder.ckedior5
dev projects are kept. Usinggulp ckeditor5-link
allckeditor5-*
projects innode_modules
are replaced with symlinks to theckeditor5-project/ckeditor5-*
folders. Note that this step is optional.gulp ckeditor5-compile
the compiler run and the result goes to the custom target folder:There should be also
gulp ckeditor5-compile --watch
option available which watchckeditor5-project/ckeditor5-*
for changes.Then the custom project can use modules which land in
lib/ckeditor5
and handle bundling (and any other future transformations) in the way it needs.The text was updated successfully, but these errors were encountered: