本文介绍了在markitup中自动显示预览面板!编辑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
I'm using the markitup! as a markdown editor (example).
当前,我需要按预览按钮(绿色对勾)以显示预览面板.
Currently, I need to press the preview button (green tick) to display the preview panel.
我希望预览自动显示-如何实现?
I would like the preview to be displayed automatically - how can I achieve this?
推荐答案
我没有使用此编辑器的经验,但是
I have no experience with this editor but
$('a[title="Preview"]').trigger('mouseup');
在编辑器加载后调用的
似乎可以满足您的要求.
called after the editor loads seems to do what you want.
这篇关于在markitup中自动显示预览面板!编辑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!