Unplanned
Last Updated: 20 Jan 2020 09:43 by ADMIN
Archy
Created on: 18 Jun 2019 14:43
Category: Editor
Type: Feature Request
1
More options for custom editor build

Hi, our project consists from two almost independent parts. First uses most of kendo things and the second uses only editor with pretty basic tools.

Kendo Editor and it's plugins depend on most things of lib so custom build with only editor option almost has no sense. Would be nice to have ability to switch off plugins/tools from editor during building. Also would be nice to add custom build options to less.

 

5 comments
ADMIN
Martin
Posted on: 05 Jul 2019 11:34
Hello Archy,

We need to evaluate the benefit of the feature request before approving it in the Feedback Portal. Please expect a follow up on the subject next week.

I am afraid I do not understand what do you have in mind with "concatenated editor". Could you please explain what do you mean by that? The code from the screenshot is available for you in the source code .zip file, which you can download from your Telerik account.

Regards,
Martin
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Archy
Posted on: 28 Jun 2019 11:59

This is actually what I'm currently do. The problem is that this operation required for every release which is quite annoying. And this what this FR is all about.

PS on ur screen I see not concatenated editor. Is it available somewhere or u decomposed it by hands like me :)?

 

ADMIN
Dimitar
Posted on: 27 Jun 2019 13:43
Hi Archy,

Thank you for the clarification.

You may try to build the editor with gulp using gulp custom -c editor command, as suggested in Use Gulp section. In order to exclude parts of the scripts, you may comment plugins in kendo.editor.js and build with the above gulp command. On this screenshot the window reference is removed from the first line of components and then some plugins are commented. The resulting file becomes smaller in size. I hope it will help you to achieve the desired result.

Regards,
Dimitar
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Archy
Posted on: 25 Jun 2019 14:35

Hi, I've meant custom build with gulp actually(u serve gulpfile with sources). Attached what I have with it.

I understand that it is hard to make optional parts like eg odata though in my example I doubt I need it. But some parts seem can be optional still. Eg tables stuff. Switching off plugins with dialogs could eliminate window module etc.

 

ADMIN
Dimitar
Posted on: 25 Jun 2019 11:22
Hi Archy,

Could you clarify if you refer to the Custom Download Builder tool, which enables creating custom scripts based on selecting only the features are needed? The list of scripts required by Kendo Editor shows those needed and some of them are marked as optional. The optional ones, which are related to more advanced tools, are added as separate checkboxes in the builder - screenshot. When only the required ones are checked, the size of the custom script file would be 518 KB - screenshot. And the size with all tools checked is 806 KB - screenshot. In comparison, the kendo.all.min.js file which includes all scripts is 3.33 MB. So a custom script only for Editor decreases the script size significantly.

If you refer to a different tool/scenario could you provide more details about it.

Regards,
Dimitar
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.