-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to make the text appear the same in edit mode and in View mode? #2485
Comments
I have fixed the error. Is everything displayed the same in editing mode and viewing mode? |
Edit mode and read mode uses different style files. One is the editor theme file, the other is the web.css file. text-editor.theme You need to add "Italic: true" to it if you want an italic heading. |
@tamlok See Update-1 in the question |
Press F12 in read mode to check where does the italic style comes from. |
Sorry. I don't understand. <h1 id="heading1" class="source-line" data-source-line="0">Heading1
<a class="vx-header-anchor" href="#heading1" vx-data-anchor-icon="¶">
</a>
</h1> |
Look at the right side panel to check where does the italic comes from. Or try to delete the "font-weight: bold". |
Wht if you remove the |
How to make the text appear the same in edit mode and in View mode?
I have fixed the text-editor file.theme.
The file is located in the folder
c:\Users\Root\AppData\Roaming\VNote\VNote\themes\vue-light\text-editor.theme
Become
It was
Now it looks like
Edit mode
View mode
Theme
Update-1
I want the display (and fonts) in reading mode to be similar to the display(and fonts) as in edit mode.
Minimally, I want to
- in reading mode the font was straight. Now the font is slanted (I can't find the
Italic:true
parameter in the web.css file);- in reading mode, the font height was the same as in editing mode.
web.css
File web.css.
text-editor.theme
File text-editor.theme
The text was updated successfully, but these errors were encountered: