Community
Participate
Working Groups
Paste from an html file that has a lot of relative anchors in this format "#name". It imports the whole file and places it in the resources directory. It then changes all the anchors to "./resources/file#name". When you now publish it opens that files instead of "jumping" within the same page which is the intended behavior. The file of course might be out of sync with the pasted version as well as has not the RMC styles.
Changing priority - this is hardly a showstopper
Fixed - RTE should preserve the links to anchors
Fix is verified on Daily build 20070608-0000 and closed.
The pasted html is now correct when pasting from a web browser, but it still creates a copy of the source html file in the ./resources directory. This file must not be there as it is not used and might confuse the user. The paste does not work when pasting from html editors such IBM Rational Software Architect's HTML editor's design view or Microsoft Expression Web. It then still changes the anchors to this "./resources/file#name"; just a before the fix.
we will further improve the RTE functionality in the next release by accommodating more 3rd party tools as the source of copying. The creation of the extra file is due to the self-reference link like href"#ref" in the copied contents. The current parsing code will treat it as a ligimate refereneced resource, and copy it. Making changes on this logic requires the underlying JavaScript and Java code changes.