hi the image's width and height is default set to the input text is hommization. I modified the image/dialogs/image.js to resolve this like : from : var F=this.getDialog(),G='',H=this.id=='txtWidth'?'width':'height',I=D.getAttribute(H);if(I)G=E(I,G);G=E(D.getStyle(H),G);this.setValue(G);}
to: var F=this.getDialog(),G='',H=this.id=='txtWidth'?'width':'height',I=D.getAttribute(H);if(I)G=E(I,G);G=E(D.getStyle(H),G);if(G==''){if(H=='width')this.setValue(F.originalElement.$.width);else this.setValue(F.originalElement.$.height);}else this.setValue(G);}
Re: a bug in image properties window
I'm not sure what do you mean by "as default" but yes, to set image size to its actual (original) size you just need to click "reset size" icon.
Re: a bug in image properties window
the image's width and height is default set to the input text is hommization.
I modified the image/dialogs/image.js to resolve this like :
from :
var F=this.getDialog(),G='',H=this.id=='txtWidth'?'width':'height',I=D.getAttribute(H);if(I)G=E(I,G);G=E(D.getStyle(H),G);this.setValue(G);}
to:
var F=this.getDialog(),G='',H=this.id=='txtWidth'?'width':'height',I=D.getAttribute(H);if(I)G=E(I,G);G=E(D.getStyle(H),G);if(G==''){if(H=='width')this.setValue(F.originalElement.$.width);else this.setValue(F.originalElement.$.height);}else this.setValue(G);}