Compare the three blockquote breaking levels
Place the caret inside the quote and press Enter. The current Bootstrap 5 editor still supports all three
blockquoteBreakingLevel values from the old documentation.
Level 0
Enter stays inside the quote.
Press Enter inside this quote. The new paragraph stays quoted.
Level 1
Only the first ancestor blockquote is broken.
Press Enter inside the nested quote to break only one level.
Outer quote text remains quoted.
Level 2
The default behavior breaks out of all ancestor blockquotes.
Press Enter here to leave all surrounding quotes.
The next paragraph should no longer be quoted.
Example configuration - Blockquote Breaking
const sharedOptions = {
height: 220,
toolbar: [
['style', ['style']],
['font', ['bold', 'italic', 'underline']],
['para', ['ul', 'ol', 'paragraph']],
['history', ['undo', 'redo']],
],
};
summernote.create('#blockquote-level-0', {
...sharedOptions,
blockquoteBreakingLevel: 0,
});
summernote.create('#blockquote-level-1', {
...sharedOptions,
blockquoteBreakingLevel: 1,
});
summernote.create('#blockquote-level-2', {
...sharedOptions,
blockquoteBreakingLevel: 2,
});