![]() Yarn link link link the packages in node_modules directory should be symlinked to the local CKEditor 5 directories. Ensure to have installed the dependencies of Drupal itself already using yarn install . Navigate back to /core in the Drupal directory. You will have to do this separately for the main CKEditor 5 project, as well as ckeditor5-editor-classic subpackage, on top of any of the subpackages that you would like to test locally (e.g. Use yarn link for loading the locally built version of CKEditor 5. To achieve it, use the -dev option as such: yarn dll:build -dev Note: you might want to use unminified development only files for debugging purpose. Outside of Drupal directory structure, clone CKEditor 5 from Github: git clone īuild source code (this could take several minutes): yarn dll:build This could be useful for testing future releases, or finding commit that caused a regression.įirst ensure you have v1 of yarn installed - it will fail with any later version - see Trigger the build process any time a source file changes: yarn watch:ckeditor5 Installing CKEditor 5 from sourceįor development, it can be useful to be able to pull a specific commit from the CKEditor 5 repository instead of a tagged release. ![]() In the /core directory, first install dependencies: yarn installĬhanges can be built from source code with: yarn build:ckeditor5 ![]() CKEditor plugins are created via a build process. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |