javascriptasp.net-coreckeditorckeditor5

CKEditor 5 mini version


the last time i used ckeditor was i think 1 year ago. it was like this.

  1. go to their site.
  2. select what you want.
  3. change toolbar order.
  4. select langauge.
  5. download zip and use it in your project.

now is not like that. it's just give me code to imports those i want and use it in my project. old way was 500KB~2MB based on plugins. now is 22MB wow.

now i want to know what should i do?

i searched a lot in stackoverflow and other sites and can't find any solution. so forgive me if it's very very simple question i don't know what to do.


Solution

  • i think i found my answer. after looking to ckeditor files i see 3 big files that is around 16MB and 3MB of translations. so in total 19MB. after i search about what is map file i found out that we don't need it unless we want debug our code in production mode. so now we have 3MB JS files that we need to use in production mode. so i think i solved my problem. but still it's not good to load 3MB project when we just need some of the plugins we want.

    if i am wrong tell me.