Skip to content
Code-Schnipsel Gruppen Projekte
Commit a228d8ad erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

fix: dont kill font awesome icons

Übergeordneter d8edd3e3
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
......@@ -256,7 +256,7 @@ define('package/quiqqer/ckeditor4/bin/Editor', [
width : width,
toolbar : toolbar,
allowedContent : true,
extraAllowedContent : 'div(*)[*]{*}; iframe(*)[*]{*}; img(*)[*]{*}; script(*)[*]{*}; ins(*)[*]{*}',
extraAllowedContent : 'iframe(*)[*]{*}; img(*)[*]{*}; script(*)[*]{*}; ins(*)[*]{*}',
protectedSource : [/<ins[\s|\S]+?<\/ins>/g],
stylesSet : styles,
contentsCss : data.cssFiles || [],
......@@ -269,6 +269,10 @@ define('package/quiqqer/ckeditor4/bin/Editor', [
autoGrow_onStartup : false,
resize_enabled : false
});
// because of font awesome
window.CKEDITOR.dtd.$removeEmpty.span = false;
window.CKEDITOR.dtd.$removeEmpty.i = false;
});
},
......@@ -1027,8 +1031,8 @@ define('package/quiqqer/ckeditor4/bin/Editor', [
*
* @return boolean
*/
$turnLinkRelInputToSelect: function(DialogDefinition) {
var AdvancedTab = DialogDefinition.getContents("advanced");
$turnLinkRelInputToSelect: function (DialogDefinition) {
var AdvancedTab = DialogDefinition.getContents("advanced");
if (!AdvancedTab) {
return false;
......@@ -1041,7 +1045,7 @@ define('package/quiqqer/ckeditor4/bin/Editor', [
}
if (RelationInput) {
RelationInput.type = 'select';
RelationInput.type = 'select';
RelationInput.items = [
['alternate'],
['author'],
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren