editor.md Disabling scrolling to top when opening editormd-dialog

r6vfmomb  于 2022-10-27  发布在  其他
关注(0)|答案(2)|浏览(244)

Whenever I click to open some editormd-dialog (Link, Reference link, Image, Preformatted text,... or any other dialog) my window automatically jumps to the top.

Is there a way to programatically disable scrolling to the top?

ix0qys7i

ix0qys7i1#

options.dialogLockScreen=false

ua4mk5z4

ua4mk5z42#

Thank you admpub. That solved the issue!
Do you know if there is a comprehensive documentation of the library? I can find only bits and pieces of options through demos.

相关问题