instance-oom/ngx-markdown-editor

Custom font family

hoangbtmrk opened this issue · 4 comments

Hi dev team!
How can I update font family of text editor, I tried to use other font family, but the cursor will display wrong place, could you help me update it?

Screen Shot 2023-09-06 at 14 39 48

onEditorLoaded(editor) {
    editor.setOptions({
      fontFamily: "your custom font family"
    });
}

Many thanks @instance-oom!

@instance-oom
The font family is applied, but the cursor position is wrong, you can see the above screenshot

Sorry too late. I think this is an ace editor's bug