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

bold text is not showed correctly in viewer #3244

Open baiterry opened 1 month ago

baiterry commented 1 month ago

Describe the bug

the viewer do not show bold text but the string ** e.g. HBuilder:HBuilder

To Reproduce

init the viewer with initialValue:

new toastui.Editor.factory({
        el: viewRef.value!,
        viewer: true,
        initialValue: '**HBuilder:**HBuilder'
});

Expected behavior

view should show bold text like:

截屏2024-05-13 11 25 33

Screenshots

when in editor: 截屏2024-05-14 20 01 12 but in viewer:

截屏2024-05-13 11 09 45

Additional context

i find out the text without special character : can show bold: HBuilderHBuilder

baiterry commented 3 weeks ago

need support