Skip to content
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

Ckeditor 5 custom build in angular 16 library #15413

Closed
Dovernh opened this issue Nov 25, 2023 · 1 comment
Closed

Ckeditor 5 custom build in angular 16 library #15413

Dovernh opened this issue Nov 25, 2023 · 1 comment
Labels
resolution:duplicate This issue is a duplicate of another issue and was merged into it. type:bug This issue reports a buggy (incorrect) behavior.

Comments

@Dovernh
Copy link

Dovernh commented Nov 25, 2023

📝 Provide detailed reproduction steps (if any)

I have created an angular 16 library with a custom ckeditor5 build.

  • ckeditor5-custom-build
  • projects
  • abc-editor
  •     lib
    
  •        abc-editor
    
  •         component
    
  •             abc-component.ts
    
  •             abc-component.html
    
  • showcase
  •  src
    
  •      app
    
  •          editor
    
  •              editor.component.ts
    
  •              editor.component,html
    

If I run the showcase the editor works, no issues
If I try and build the abc-editor it fails

✔ Compiling with Angular sources in Ivy partial compilation mode.
✖ Generating FESM bundles
Could not load C:\appdev\otised\ABC.Editor\ckeditor5-custom-build\build\ckeditor.js (imported by dist/abc-editor/esm2022/lib/abc-editor/component/abc-editor.component.mjs): Could not load 'C:\appdev\otised\OtisEd.Editor\ckeditor5-custom-build\build\ckeditor.js' from memory.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this com

✔️ Expected result

build library

❌ Actual result

build error

❓ Possible solution

If you have ideas, you can list them here. Otherwise, you can delete this section.
????

📃 Other details

  • Browser: any
  • OS: windows
  • Version 5
    *Plugins: custom build

I've tried angular 15 and 17, same error


If you'd like to see this fixed sooner, add a 👍 reaction to this post.

@Dovernh Dovernh added the type:bug This issue reports a buggy (incorrect) behavior. label Nov 25, 2023
@Witoso
Copy link
Member

Witoso commented Nov 27, 2023

Dup ckeditor/ckeditor5-angular#399

@Witoso Witoso closed this as completed Nov 27, 2023
@Witoso Witoso added the resolution:duplicate This issue is a duplicate of another issue and was merged into it. label Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolution:duplicate This issue is a duplicate of another issue and was merged into it. type:bug This issue reports a buggy (incorrect) behavior.
Projects
None yet
Development

No branches or pull requests

2 participants