Submitted by jnmwarren on 2018/06/09 16:36
 How do you set the default font for the HTML Editor? I seem to cannot find it any where.
 
Thanks,
John

Comments

There is a file called 'md.css' this exists in two locations. The one your notebase uses is in the same location as your notebase.  The default one used for new notebases is in 'C:\Program Files (x86)\InfoQube Information Manager\AppFiles' unless you are running on a 32 bit system in which case it will be in 'C:\Program Files\InfoQube Information Manager\AppFiles'.
 
You need to know the format of a .CSS file.  There is much information on the web about .CSS files.  They are plain text and so you can edit them with a plain text editor.  Good Luck ! 
 

 I changed the md.css file but that did not change the default. Unless I have to restart my computer first before it takes affect.
 
Thanks,

Pierre_Admin

2018/06/11 11:05

In reply to by jnmwarren

Hi John,
 
The md.css is only used for Markdown documents.
 
To set the default HTML pane format:
  1. Start with an empty item
  2. Set the HTML pane format to what you want, using the formatting tools or edit the HTML code.
  3. Finally, do Menu > File > Save as Default
 
Pierre_Admin
IQ Designer
 

jnmwarren

2018/06/11 15:29

In reply to by Pierre_Admin

 Pierre, 
I change the font as instructed. First I tried Menu>Format>Font then Menu>File>Save As Default. Then I tried editing the HTML code and then Save As Default. I am trying to change the font to Consolas. But neither method worked. In both cases they both revert back to Aerial.
 
Thanks,
John

Pierre_Admin

2018/06/11 15:36

In reply to by jnmwarren

So true...
 
You need to change it in the Style section of the HTML document:
<HTML><HEAD>
<META name=GENERATOR content="InfoQube 0.9.108a">
<META charset=UTF-8>
<STYLE> body {font-family:Consolas; font-size:12pt;} table {font-family:Consolas; font-size:10pt;} ol, ul { margin: 0.5em 0.5em 0.5em 2em; }</STYLE>
</HEAD>
<BODY bottomMargin=0 bgColor=#ffffff leftMargin=2 topMargin=2 rightMargin=2>
<DIV></DIV></BODY></HTML>
[edit]
Making the change inside the HTML panel no longer works... Edit the file NewHTML.htm (in the your user folder) directly in notepad instead. This will be fixed in the next release
[/edit]
 
Pierre_Admin
IQ Designer
 

jnmwarren

2018/06/11 17:35

In reply to by Pierre_Admin

 Pierre,
Thanks for getting it fixed in the next release. I copied and pasted the following HTML code into the NewHTML.htm file.
 
The code I pasted is as follows.
 
<HTML><HEAD>
<META name=GENERATOR content="InfoQube 0.9.108a">
<META charset=UTF-8>
<STYLE> body {font-family:Consolas; font-size:12pt;} ol, ul { margin: 0.5em 0.5em 0.5em 2em; }</STYLE>
</HEAD>
<BODY bottomMargin=0 bgColor=#ffffff leftMargin=2 topMargin=2 rightMargin=2>
<DIV></DIV></BODY></HTML>
 
I closed the application and reopened it. And the changes did not take effect. Ariel still shows as the default font. Does it have to be a whole new database? I tried Menu>File>New HTML document as well. This did not make a difference either. 
 
Thanks,
John 

Pierre_Admin

2018/06/11 17:41

In reply to by jnmwarren

Hi John,
 
No need to close the application. File is read each time it is needed. Perhaps the changes were done on the wrong instance of the file...
 
The Users folder location can be found from Tools > Help > About > Support
 
Once updated, ensure that in the HTML pane, you do File > New > New HTML Document
 
Pierre_Admin
IQ Designer
 

jnmwarren

2018/06/12 13:27

In reply to by Pierre_Admin

 I made sure that I was in the right location. I changed the NewHTM.htm on two different computers with the same result. In both cases the default did not change. Going to  File > New > New HTML Document did not make a difference. Looks like I may need to wait for the new update to come out.
 
Thanks,

Pierre_Admin

2018/06/13 09:54

In reply to by jnmwarren

Fixed in v109:
  • Fixed: HTML: Save as Default did not work
  • Fixed: HTML pane: Code view did not have a context menu
HTH !
 
Pierre_Admin
IQ Designer
 

 Pierre,
Thanks for getting that fixed.
 
John