This sample demonstrates the API usage to customize the enter key and shift + enter key actions in the Rich Text Editor content. Code view represents the current rich text editor value when pressing typing any content or pressing enter key or shift + enter keys.
In this demo, ensure the API's behaviors by
enterKey
dropdown to customize the enter key action when it is pressed.shiftEnterKey
dropdown to customize the shift + enter key action when it is pressed.