[wp-trac] [WordPress Trac] #27706: Consider restoring border and margin for image editing

WordPress Trac noreply at wordpress.org
Tue Apr 8 05:19:15 UTC 2014


#27706: Consider restoring border and margin for image editing
--------------------------+--------------------
 Reporter:  nacin         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  3.9
Component:  Media         |     Version:  trunk
 Severity:  minor         |  Resolution:
 Keywords:                |     Focuses:
--------------------------+--------------------

Comment (by eablokker):

 Here's my opinion on this:

 '''Do not allow border color and border styles options.'''
 When you give a user the option, they ''will'' use it and abuse it. It's
 this reasoning why we prefer not to give the option to change font sizes
 in the visual editor, or change typefaces. People will abuse it and turn
 their beautiful theme into an ugly mess. Just imagine, thanks to
 WordPress, blog posts with multicolored image borders and random border
 styles all over the place. Yuck. In my opinion border styles should only
 be controlled by the theme, and optionally by adding image CSS classes
 that the theme might provide. This is definitely plugin territory.

 '''Do allow margin settings for top, right, bottom, and left.'''
 Margins however do not have the same ability to uglify your theme.
 Potential for margin abuse is limited. It only changes positioning, thus
 keeping your theme styles intact and everyone is happy. Image positioning
 in the visual editor is always very tricky and kind of a pain in the butt.
 My opinion is that margins will help alleviate image positioning woes.

 Not sure if margin values should be in px, %, or em units, or whether to
 give the option to choose the unit.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27706#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list