Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Build JavaScript UI
Javascript
Agent and App Development Solutions
Build. Accelerate. Govern.
AI-Ready Application Experiences
AI-Assisted SDLC
Agent Governance and Control
Telerik
Build modern .NET business apps
.Net Web
Desktop
Reporting and Documents
Cross-Platform
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
CMS
Debugging
UI Tools
Free Tools
Support and Learning
Productivity and Design Tools
How to change the editor>insert link default web address content from "http://" to "https://"
See screenshot
Hi Morten,
Thanks for the providing image.
Firstly, you can handle the "execute" event:
$("#editor").kendoEditor({ execute:(e)=>{ .... }
Then when in the event handler get the content of input and split it. This way we can easily add 's' and change the "HTTP" to "HTTPS". The index 4 is used as obviously "s" will be always in the same position, "5" in our way:
previousContent = document.querySelector('#k-editor-link-url').value.split(''); if(previousContent[4] != 's'){ previousContent.splice(4,0,'s'); } document.querySelector('#k-editor-link-url').value = previousContent.join('');
All examples above are summarized in the sample dojo example.
I hope this will help you.
Regards, Lyuboslav Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.