• Bootstrap v5
  • Bootstrap v5 Dark
  • Tailwind CSS
  • Tailwind CSS Dark
  • Material
  • Bootstrap v4
  • Fabric
  • Fabric Dark
  • High Contrast
Preferences
Theme Selection
Mode Selection
Touch
Mouse
Localization
*Translated by Google Translator.
Currency

Example of Enter Key Configuration in ASP.NET MVC Rich Text Editor Control

This sample demonstrates the API usage to customize the enter key and shift + enter key action in the Rich Text Editor content. Code view represents the current rich text editor value when pressing typing or pressing enter key or shift + enter key.

DEMO
SOURCE


In this demos, Ensuring the API'S behaviors by doing

  • Change the value of enterKey dropdown to customize the enter the enter key action when enter key is pressed.
  • Change the value of shiftEnterKey dropdown to customize the shift+enter the enter key action when shift+enter key is pressed.