nhn / tui.editor

🍞📝 Markdown WYSIWYG Editor. GFM Standard + Chart & UML Extensible.
http://ui.toast.com/tui-editor
MIT License
16.91k stars 1.71k forks source link

The bold style is broken by a default CSS rule #3216

Open curiosport opened 5 months ago

curiosport commented 5 months ago
<b>Some Text</b>
**Some Text**

Neither case becomes bold, if I disable all 4 occurrences of this line in "toastui-editor.css" the problem is corrected.

  font-family: 'Open Sans', 'Helvetica Neue', 'Helvetica', 'Arial', '나눔바른고딕',
    'Nanum Barun Gothic', '맑은고딕', 'Malgun Gothic', sans-serif;
curiosport commented 5 months ago

From what I see Open Sans is the problem.

curiosport commented 5 months ago

This is my solution for now.

.toastui-editor-defaultUI,
.toastui-editor-tooltip,
.ProseMirror,
.toastui-editor-contents {
    font-family: 'Malgun Gothic';
}