English 中文(简体)
CKEditor 5 微型版本
原标题:CKEditor 5 mini version
the last time i used ckeditor was i think 1 year ago. it was like this. go to their site. select what you want. change toolbar order. select langauge. 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.
问题回答
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.




相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签