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