User:Evad37/Covery/sandbox.js: Difference between revisions

Content deleted Content added
.
adjust
Line 441:
droppable: true,
showDropTarget: true,
// thumbnailSizeLimit: 0,
$element: $("<div style='heightbackground:auto #eee;'>")
});
// this.fileSelect.$element
// .find(".oo-ui-selectFileWidget-dropTarget").css({"height":"auto"});
// this.fileSelect.$element
// .find(".oo-ui-selectFileWidget-thumbnail").css({"display":"none"});
// this.fileSelect.$element
// .find(".oo-ui-selectFileInputWidget-info").css({"margin":"0"});
this.urlInput = new OO.ui.TextInputWidget({
Line 469:
this.fileSelectField = new OO.ui.FieldLayout(this.fileSelect, {
label: 'Upload a file...',
align: 'lefttop'
});
this.fileSelect.field = this.fileSelectField;
Line 483:
this.titleInputField = new OO.ui.FieldLayout(this.titleInput, {
label: 'File name',
align: 'lefttop'
});
this.titleInputField.$element
Line 512:
// this.urlInputField,
this.titleInputField,
//this.imagePreviewField,
this.captionInputField,
this.altTextInputField,