This is a migrated thread and some comments may be shown as answers.
Removing tools from inline editor
2 Answers 61 Views
This is a migrated thread and some comments may be shown as answers.
Warren
Top achievements
Rank 2
Warren asked on 22 Apr 2016, 04:21 PM

Hi Everyone,

I am trying to remove the tools from the inline editor but even without a single tool, the tool bar still displays. Is there any way to remove/disable that?

Here's how I definte the tools and below is a sample Dojo:

 $("#inlineEditor").kendoEditor({tools:[]});

http://dojo.telerik.com/@dannycabrera/IXAQu

Thanks

2 Answers, 1 is accepted

Sort by
0
Niko
Telerik team
answered on 25 Apr 2016, 02:53 PM

Hello Warren,

Currently it is not possible to prevent the toolbar from appearing in the editor's inline mode.

Nevertheless you could achieve this behavior by destroying the toolbar window, thus no popup will appear. Please, check the following dojo for a sample implementation - http://dojo.telerik.com/@nlazarov/ifAVe. Please, note that the toolbar field is not documented, which means that this part might change with any new release. It would be a good practice to add some tests around this in your project just to be sure the fix will work a expected in new releases.

Hope this helps.

Regards,
Niko
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Warren
Top achievements
Rank 2
answered on 25 Apr 2016, 03:44 PM
Thanks Niko, this will definitely work.
Asked by
Warren
Top achievements
Rank 2
Answers by
Niko
Telerik team
Warren
Top achievements
Rank 2
Share this question
or