JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › General Discussions › Smart.Editor › Reply To: Smart.Editor
July 18, 2023 at 11:53 am
#107490
ivanpeevski
Participant
Hi Catdoken,
Thanks for the interest in our products!
At the moment, we do not have built-in properties to achieve these, however they can also be implemented programmatically with some additional code:
- You can overwrite the default behavior of theĀ editor by handling the ‘keydown’ event and calling event.preventDefault()
- The text-transform: uppercase CSS rule will automatically transform all characters to uppercase. However the change is only visual, so when you receive the Editor value you should also add a toUpperCase call to change its value
Here is an example with both functionalities implemented: codepen
Best Regards,
Ivan Peevski
Smart UI Team
https://www.htmlelements.com/</span>