editor.serializer.addNodeFilter('br', function(nodes) {
for (const node of nodes) {
if (node.parent && node.parent.name === 'code') {
editor.serializer.addNodeFilter('br', function(nodes) {
for (const node of nodes) {
if (node.parent && node.parent.name === 'code') {
body_class: 'page-content',
browser_spellcheck: true,
relative_urls: false,
body_class: 'page-content',
browser_spellcheck: true,
relative_urls: false,
contextmenu: false,
toolbar: getPrimaryToolbar(options),
content_style: getContentStyle(options),
contextmenu: false,
toolbar: getPrimaryToolbar(options),
content_style: getContentStyle(options),
file_picker_types: 'file image',
file_picker_callback,
paste_preprocess(plugin, args) {
file_picker_types: 'file image',
file_picker_callback,
paste_preprocess(plugin, args) {