Opened 16 years ago

Closed 15 years ago

#1970 closed New Feature (fixed)

Configuration to default border=0 for images

Reported by: Chris Sgaraglino Owned by:
Priority: Normal Milestone: CKEditor 3.0
Component: General Version:
Keywords: Confirmed Cc:


Please include the ability to set a default for image borders. When linking images, and there is NO border set, the image gets an ugly border around it. It would be extremely helpful if we could have a configuration switch that would automatically default the border to zero (0).

Change History (6)

comment:1 Changed 16 years ago by Wojciech Olchawa

Keywords: Pending added


I can't see this problem, because for me the appearance of the image with boreder=0 and with no border parameter set is exactly the same.

comment:2 Changed 16 years ago by Chris Sgaraglino

It is only visable when the image is a link.

<a href="file.html"><img src="file.jpg"></a> will produce a border

<a href="file.html"><img src="file.jpg" border=0></a> will produce NOT a border

If the border is always defaulted to zero, then the URL issues never becomes an issue.

comment:3 Changed 16 years ago by Alfonso Martínez de Lizarrondo

Why don't you add img {border:0} to your stylesheet?

comment:4 Changed 16 years ago by Chris Sgaraglino

This would then cripple all image borders when one was set greate then 0 in the image properties.

Besides, it is proper HTML Coding to have border=0 as a default (just like alt=""), as is clearly defines what the browser is suposed to do with borders.

comment:5 Changed 15 years ago by Frederico Caldeira Knabben

Keywords: Confirmed added; Pending removed

comment:6 Changed 15 years ago by Artur Formella

Milestone: CKEditor 3.0
Resolution: fixed
Status: newclosed

Fixed with [2873].

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy