Hello, I wanted to know how to configure the following defaults in Inserting Images Dialog Window.
(Automatically appear in this window, like this:
)
HSpace: the size 5 of the horizontal gap.
VSpace: the size 5 of the vertical gap.
Align: alignment of the image to Left
Thanks!!
Gabriel
Tue, 07/21/2009 - 16:53
#1
Re: How change default values of the Inserting Images Dialog Win
You can do this in simple HTML by changing the HSpace/VSpace values in the file fckeditor\editor\dialog\fck_image.html.
Bob
Re: How change default values of the Inserting Images Dialog Win
<div>
<a id="lnkPreview" onclick="return false;" style="cursor: default">
<img id="imgPreview" onload="window.parent.UpdateOriginal();"
style="display: none" align="left" vspace="5" hspace="5" alt="" /></a>Noticia 1
Este es un texto de prueba
</div>
but I was not successful.
Shall file?
Thanks
Re: How change default values of the Inserting Images Dialog Win
..../public_html/xxx/fckeditor/editor/dialog/fck_image.html
<!---gabriel--> <input type="text" size="2" id="txtHSpace" value="5" onkeyup="UpdatePreview();" /></td>
</tr>
<tr>
<td nowrap="nowrap">
<span fcklang="DlgImgVSpace">VSpace</span> </td>
<td>
<!---gabriel--> <input type="text" size="2" id="txtVSpace" value="5" onkeyup="UpdatePreview();" /></td>
</tr>
<tr>
<td nowrap="nowrap">
<span fcklang="DlgImgAlign">Align</span> </td>
<td>
<!---gabriel--><select id="cmbAlign" onchange="UpdatePreview();">
<option selected="selected" fcklang="DlgImgAlignLeft" value="left">Left</option>
Gabriel