How to stop editor from fully...

User 1207445 Photo


Registered User
2 posts

I write this:

<a href="#bubble">stuff</a>


Whenever I save the document, the editor changes it to this:

<a href="thisfile.html#bubble">stuff</a>


How can I stop the editor from doing that? It's important that the anchor name be relative, not fully qualified.

For any help, many thanks!
User 38401 Photo


Senior Advisor
10,951 posts

Hiya David,

What version of the Editor are you using? Are you swapping between the visual and code editor windows at all? I have the current version and it doesn't do this to me at all. Just tested it with your exact line of code to make sure.
User 1207445 Photo


Registered User
2 posts

Thanks for replying, Jo Ann.

I'm using build 369.

It's going further, now. Now, it's inserting a reference to the PC drive:

<a class="style14" href="file:///D:/work/ftp/cin-men-web/cam_connections/calendar.html#SDN">Spirited<br/>Discussion<br/>North<br/>5:30 pm</a>

Driving me up a wall.

Could it have something to do with the CSS, which is embedded in the file?
User 38401 Photo


Senior Advisor
10,951 posts

hmm ok so we're on the same current build then. You can test the CSS theory by just removing it and putting the CSS code into it's own file and giving it anyname.css and then putting a link to it inside your header like so:


<link href="anyname.css" rel="stylesheet" type="text/css" />

where href="input_relative_link_location_here" is whatever location you put the css file. I usually create a css directory so if you do that and put that css file in there it would be like so:

<link href="css/anyname.css" rel="stylesheet" type="text/css" />

I'm not sure what to tell you otherwise, I don't think the css move will make any difference but try it anyways, it's better to have it separate from your pages anyways so you can use it for more than one page that way too.

Have you tried uninstalling and reinstalling the software? Also maybe using ccleaner to clear your computers cache and temp files might also help. You can download that at http://www.piriform.com and it's quite a nice little program, very trusted and something to do every so often just to keep your pc clean.

Try those 3 things and see if any of them help I guess and let us know :)
User 122279 Photo


Senior Advisor
14,624 posts
Online Now

David, the line you quoted in your second post can't have come from using the code mode of the Editor!

Are you using the visual mode? If you are, it is highly recommended that you stick with it instead of going back and forth between code and visual. The markup is very different, and switching from one to the other may cause errors.

I'm a coder, so I don't know the visual mode too well. In code mode the link will be exactly as you typed it. The great advantage (or one of them) of the code mode is that it does exactly what you tell it to do, no more, no less.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.