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

Merge branch 'dev'

Übergeordnete 32de135f 9227f12a
No related branches found
No related tags found
1 Merge Request!8fix: display CKE notifications on the center of the page
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
e.preventDefault(); e.preventDefault();
var Brick = e.target.closest('.quiqqer_bricks_placeholder'); var Brick = e.target.closest('.quiqqer_bricks_placeholder');
Brick.parentNode.removeChild(Brick) Brick.parentNode.removeChild(Brick);
} }
}); });
...@@ -183,13 +183,13 @@ ...@@ -183,13 +183,13 @@
}; };
// add ckeditor // add ckeditor
CKEDITOR.plugins.add('quiqqerBricks', { window.CKEDITOR.plugins.add('quiqqerBricks', {
icons: "icon", icons: "icon",
lang : ['en', 'de'], lang : ['en', 'de'],
onLoad: function () { onLoad: function () {
// Register styles for placeholder widget frame. // Register styles for placeholder widget frame.
CKEDITOR.addCss( window.CKEDITOR.addCss(
'.quiqqer_bricks_placeholder {' + '.quiqqer_bricks_placeholder {' +
' cursor: pointer;' + ' cursor: pointer;' +
' display: inline-block;' + ' display: inline-block;' +
...@@ -273,7 +273,7 @@ ...@@ -273,7 +273,7 @@
result = data.replace( result = data.replace(
/{{brick ([^}}]*)}}/g, /{{brick ([^}}]*)}}/g,
function (match) { function (match) {
match = match.replace('{{brick ', '') match = match.replace('{{brick ', '');
match = match.replace('}}', ''); match = match.replace('}}', '');
match = match.trim(); match = match.trim();
match = match.split(' '); match = match.split(' ');
......
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