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

empty protokoll at link plugin

Übergeordneter 958fe633
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
......@@ -118,6 +118,7 @@ define('package/quiqqer/ckeditor4/bin/Editor', [
window.CKEDITOR.replace(instance, {
language : Locale.getCurrent(),
baseHref : URL_DIR,
basePath : URL_DIR,
height : Instance.getSize().y - 140,
width : Instance.getSize().x + 20,
// toolbar : CKEDITOR_NEXGAM_TOOLBAR,
......@@ -365,12 +366,30 @@ define('package/quiqqer/ckeditor4/bin/Editor', [
dialogDefinition = ev.data.definition;
/**
* Image dialog
* Link dialog
*/
if ( dialogName != 'link' ) {
return ev;
}
// remove protokoll dropdown
dialogDefinition.getContents( 'info' ).remove( 'protocol');
// remove protokoll at insertion
var Url = dialogDefinition.getContents( 'info' ).get( 'url' ),
orgCommit = Url.commit;
Url.commit = function( data )
{
orgCommit.call( this, data );
data.url = {
protocol: '',
url: this.getValue()
};
};
// Get a reference to the "Link Info" tab.
dialogDefinition.onShow = function()
{
......@@ -378,7 +397,6 @@ define('package/quiqqer/ckeditor4/bin/Editor', [
.getElement()
.$;
if ( UrlGroup.getElement( '.qui-button' ) ) {
return;
}
......
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