Ticket #350 (closed defect: wontfix)

Opened 8 years ago

Last modified 8 years ago

Set class attribute on img tag

Reported by: andy+xinha@… Owned by: gogo
Priority: normal Milestone:
Component: Xinha Core Version:
Severity: normal Keywords:
Cc:

Description

Hi,

I would like very much to add a text field in the 'insert image' dialog to specify the class HTML attribute, though I just can't figure it out. Any tips?

Thanks, Andy

Change History

Changed 8 years ago by niko

using the insert-iamge-dialog this is not possible. try DynamicCSS or Stylist

Changed 8 years ago by anonymous

  • status changed from new to closed
  • resolution set to wontfix

Thanks. It just seems, in theory, to be a relatively straight forward thing to add, since you can already do title / hspace / vspace / alt etc. The editor would not need to visually render the attributes of the class, but rather just insert the string value into the appropriate tag attribute.

Having said that, I had a crack at it, but it's harder than I thought :)

Cheers, Andy

Note: See TracTickets for help on using tickets.