asdsad
This commit is contained in:
@@ -277,6 +277,12 @@
|
||||
blockManager: {
|
||||
hideEmpty: false
|
||||
},
|
||||
parser: {
|
||||
textTags: ['p','span','div','br','b','strong','i','em','u','a','ul','ol','li'],
|
||||
optionsHtml: {
|
||||
keepEmptyTextNodes: true
|
||||
}
|
||||
},
|
||||
domComponents: {
|
||||
// Preserve plain text when editing text blocks.
|
||||
textTags: ['p','span','div','br','b','strong','i','em','u','a','ul','ol','li']
|
||||
@@ -297,6 +303,7 @@
|
||||
parserCfg.textTags = textTags;
|
||||
parserCfg.optionsHtml = parserCfg.optionsHtml || {};
|
||||
parserCfg.optionsHtml.textTags = textTags;
|
||||
parserCfg.optionsHtml.keepEmptyTextNodes = true;
|
||||
}
|
||||
} catch (e) {
|
||||
log('CORE WARN', `textTags Konfiguration fehlgeschlagen: ${e.message}`, 'orange', 'warn');
|
||||
|
||||
Reference in New Issue
Block a user