Couple of questions - Post ID 288728

User 2808633 Photo


Registered User
3 posts

Question #1: When I use the Link Wizard to add a link, the dropdown box has all the links I've added in the past. While a few of these I do reuse sometimes, the rest are one time only. Is there a way to delete these, but keep the ones I want? Or at least delete everything, even if it means losing the ones I do reuse?

Question #2: I have my DOCTYPE set to HTML5, and the Code tab as well. But whenever I add an image via the right-click menu, it adds a border="0" attribute to the IMG tag, which causes an error when I validate because border= is deprecated in HTML5. So I have to erase it every time. How do I stop it from being added in the first place?
User 379556 Photo


Registered User
1,568 posts

1. While the program was closed, I did it by editing in Notepad++ the links.ini file, which on my computer is in the following folder -
C:\Users\Frank\AppData\Roaming\CoffeeCup Software\CoffeeCup HTML Editor\Settings.

2. I haven't managed to reproduce this in version 16.1 build 808. If that is the version and build in use, perhaps others can reproduce it and help.

Frank
User 122279 Photo


Senior Advisor
14,565 posts
Online Now

I also tried adding images by right clicking plus any other ways, but that border=0 didn't appear. I have the same version of the Editor as Frank.
Ha en riktig god dag!
Inger, Norway

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


User 2808633 Photo


Registered User
3 posts

Thank you Frank! That did the trick.

Still have the border= problem. Version 16.1 808.
User 379556 Photo


Registered User
1,568 posts

I still haven't managed to replicate the border matter, but in trying to do so I found that the settings folder (containing the links.ini etc. files) can be accessed easily within the program -
Tools > Preferences ... > Customization tab > Open Settings Folder button.

Next to that button is the 'Open Markup Library' button. Using Notepad++ to open the img.tag item in the HTML5 folder shows the following for me. If Frederick's is different, that may be what's causing the problem.

"img", "<img />", ""
"alt", "none", "text"
"src", "none", "text"
"usemap", "none", "text"
"ismap", "none", "flag"
"width", "none", "text"
"height", "none", "text"

Frank
User 122279 Photo


Senior Advisor
14,565 posts
Online Now

Following Frank's research in the preferences, I opened the img tag in the other html versions listed, and they all had the border tag, plus a lot more, included. So maybe some wires have got crossed in there? If so, a cleanout and re-download and re-install would fix it, I guess.
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.