There are a lot of attributes being used in a tags. Most of them ("rel" unfortunately not) are part in the link dialog.
I wonder, why - in objectoriented and reuse-code-as-much-as-possible environment - the provided attributes for links have to differ in link.js and image.js. Isn't linking always the same? aren't attributes always the same?
Yes, I did study the api_dialog.html sample file. There it shows how to add a custom field "My custom field". The only thing it does - is show up in the link dialog. This example stops halfway before being helpful: it does not show how to set up coding to get the field as an attribute "meaningful".
It does not output the result into the a tag - and it will not read anything from the a tag. So this example is practically "empty miles" for reading. Please make this example working by using the (missing) rel-attribute and setup the coding so that rel values are being read from the a tag and in turn being output into the a tag. thanks.
I also do not see any sense in adding all the (missing) attributes into the image dialog and adding the missing rel attribute into the link dialog. This should be included in the standard version and the coding for the link section should be the same in image.js and link.js - as should their appearance and field location for the attributes be the same.
Could this be possible?
thanks
Fred
I wonder, why - in objectoriented and reuse-code-as-much-as-possible environment - the provided attributes for links have to differ in link.js and image.js. Isn't linking always the same? aren't attributes always the same?
Yes, I did study the api_dialog.html sample file. There it shows how to add a custom field "My custom field". The only thing it does - is show up in the link dialog. This example stops halfway before being helpful: it does not show how to set up coding to get the field as an attribute "meaningful".
It does not output the result into the a tag - and it will not read anything from the a tag. So this example is practically "empty miles" for reading. Please make this example working by using the (missing) rel-attribute and setup the coding so that rel values are being read from the a tag and in turn being output into the a tag. thanks.
I also do not see any sense in adding all the (missing) attributes into the image dialog and adding the missing rel attribute into the link dialog. This should be included in the standard version and the coding for the link section should be the same in image.js and link.js - as should their appearance and field location for the attributes be the same.
Could this be possible?
thanks
Fred