Now I can add alternitivny text in the image properties (AltText). In templates I just use my function GetAltText. But if the user is working with richtexteditor and adds image through media picker there is a default property "Alternative text (optional)". I need to add at the pictures in richtexteditor when unfilled property "Alternative text (optional)" use my property AltText
I have a feeling you can manipulate the core js files (so no need to delve into aspnet and building the source) to some extent to get what you are after..
media picker alt text - richtexteditor
Hello! I created a property for the images (in Media Types section) called "AltText". Then I added the extension method GetAltText:
I want my property used when user insert a picture with the richtexteditor. Any ideas?
Hi Shada,
So what the problem ? Do you want to past alt text in the richTexct editor ?
Now I can add alternitivny text in the image properties (AltText). In templates I just use my function GetAltText. But if the user is working with richtexteditor and adds image through media picker there is a default property "Alternative text (optional)". I need to add at the pictures in richtexteditor when unfilled property "Alternative text (optional)" use my property AltText
Shada, yes it's only way.
I have a feeling you can manipulate the core js files (so no need to delve into aspnet and building the source) to some extent to get what you are after..
is I think the javascript that you are going to have to manipulate.
(just be careful of cacheing... changing the clientdependancy version no in \Config\ClientDependency.config should sort that)
is working on a reply...