Main navigation
Product navigation
Main content
CKEditor 4
Overview
Demo
Accessibility Checker
Add-ons
Documentation
Download
Pricing
More
Home
WYSIWYG Editors
CKEditor 4
CKEditor 5
Image upload
CKFinder
Easy Image
Collaboration
Comments
New
Track changes
New
Collaborative editing
Pricing
Case studies
New
Documentation
Help center
Blog
Contact us
The forum operates in
read-only
mode. Please head to
StackOverflow
for support.
Forums
CKEditor
Support
Last post
Tue, 07/21/2009 - 16:53
#1
omgabriel
Joined:
19/01/2009
Posts:
4
How change default values of the Inserting Images Dialog Win
5
5
Left
Tue, 07/21/2009 - 17:10
#2
btate
Joined:
15/07/2009
Posts:
54
Re: How change default values of the Inserting Images Dialog Win
Gabriel,
You can do this in simple HTML by changing the HSpace/VSpace values in the file fckeditor\editor\dialog\fck_image.html.
Bob
Tue, 07/21/2009 - 18:47
#3
omgabriel
Joined:
19/01/2009
Posts:
4
Re: How change default values of the Inserting Images Dialog Win
Thanks Bod, I edit fck_image_preview.html:
<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
Tue, 07/21/2009 - 19:49
#4
omgabriel
Joined:
19/01/2009
Posts:
4
Re: How change default values of the Inserting Images Dialog Win
I have already solved, we must edit the following:
..../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
Twitter
Facebook
Facebook
Instagram
Medium
Linkedin
GitHub
Arrow down
Phone
Menu
Close icon
Check
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