I tried to add the name attribute via the fck_link.html (the popup that activates after link button is clicked in Editor). Did not succeed and still being in need to do so, I started to explore the code and I found in fck_link.js file; in function Ok () definition; in // Advances Attributes section following line of Javascript source code:
SetAttribute( oLink, 'name' , GetE('txtAttName').value ) ; // No IE. Set but doesnt't update the outerHTML.
I was looking for the bug and honestly, finding this comment surprised me a little. Does that mean that it is IE specific problem and there is no work-around? Is there any other way how to let user create NAMED HTML tag? My original intention was to create <A name=anyname>anytext</a> anchor for the sake of HTML purity. Since I am not a HTML orthodox purist I will be OK with (almost) any NAMED tag I can offer to the user to be able to create it in the FCKeditor.
BTW, there is probably no way to create clear A type of anchor via fck_link.html. At least I did not find any useful, yet. Problem is that the HREF attribute is forced into every A tag being created via fck_link.html?
Any hints out there what I am doing wrong? Any help will be deeply appreciated.
SetAttribute( oLink, 'name' , GetE('txtAttName').value ) ; // No IE. Set but doesnt't update the outerHTML.
I was looking for the bug and honestly, finding this comment surprised me a little. Does that mean that it is IE specific problem and there is no work-around? Is there any other way how to let user create NAMED HTML tag? My original intention was to create <A name=anyname>anytext</a> anchor for the sake of HTML purity. Since I am not a HTML orthodox purist I will be OK with (almost) any NAMED tag I can offer to the user to be able to create it in the FCKeditor.
BTW, there is probably no way to create clear A type of anchor via fck_link.html. At least I did not find any useful, yet. Problem is that the HREF attribute is forced into every A tag being created via fck_link.html?
Any hints out there what I am doing wrong? Any help will be deeply appreciated.