Opened 14 years ago

Closed 14 years ago

#350 closed defect (wontfix)

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 (2)

comment:1 Changed 14 years ago by niko

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

comment:2 Changed 14 years ago by anonymous

  • Resolution set to wontfix
  • Status changed from new to closed

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.