When you press the Enter key on an empty space, inserts a tag from the option [[Config.enter]].
Disabling a Plugin:
Jodit.make('#editor', { disablePlugins: ['enter']}); Copy
Jodit.make('#editor', { disablePlugins: ['enter']});
Also handles an input situation in the middle of a split element:
<h1>te|st</h1> Copy
<h1>te|st</h1>
will be divided into
<h1>te</h1><h1>|st</h1> Copy
<h1>te</h1><h1>|st</h1>
But if the cursor is at the end of the element
<h1>test|</h1> Copy
<h1>test|</h1>
then a new element will be added according to [[Config.enter]]
<h1>test</h1><p>|<br /></p> Copy
<h1>test</h1><p>|<br /></p>
If you like Jodit - try Jodit PRO
Plugin for correct processing of pressing the Enter key
When you press the Enter key on an empty space, inserts a tag from the option [[Config.enter]].
Disabling a Plugin:
Also handles an input situation in the middle of a split element:
will be divided into
But if the cursor is at the end of the element
then a new element will be added according to [[Config.enter]]