You are not logged in.

  • Index
  •  » Support
  •  » Use Class Instead of Style for Alignment?

#1 2008-10-16 19:32:53

OakBehringer
Member
Registered: 2008-05-13
Posts: 4

Use Class Instead of Style for Alignment?

When adding an image and choosing to have it aligned left, I would like to add class="left" to the element.

- OR -

Be able to add other css styles such that the following would be added to the img element: style="float: left; margin-right: 1em;"

Is either of these possible?

Offline

 

#2 2008-10-16 22:22:05

spocke
Administrator
From: Sweden, Skellefteċ
Registered: 2004-11-25
Posts: 11436
Website

Re: Use Class Instead of Style for Alignment?

No not at the moment send in a feature request on SF.


Best regards,
Spocke - Main developer of TinyMCE

Offline

 

#3 2008-10-24 12:19:58

gareth53
Member
Registered: 2008-10-24
Posts: 1

Re: Use Class Instead of Style for Alignment?

this is a good feature request candidate...

one thing I've noticed about aligning images is that once you've selecgted an image and hit one of the align buttons it's a really convoluted process to remove the alignment of the image. You have to select the image, click "center-align", now select the parent paragraph and align that left.

All of which is kind counter-intuitive.

6n a similar note....

Default paragraphs have no text-align attribute, but hitting the left-align button forces left-alignment, whether it's required or not. The default value for a paragraph's text-align is left.

Is there a case for a "remove alignment" button? or "no alignment" which just removes text-align and float attribute values?

Offline

 
  • Index
  •  » Support
  •  » Use Class Instead of Style for Alignment?

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB