Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想触发这个JS,这个 JS 通过从 wikieditor 的当前文本中获取值来将 wikitext 解析为 HTML。为了获取 wikieditor 的当前值,我使用了这个$('#wpTextbox1').val()
$('#wpTextbox1').val()
维基编辑器
鉴于wiky.process_normal = function(wikitext){JS 中的行,我猜wiky.process_normal($('#wpTextbox1').val())应该这样做。
wiky.process_normal = function(wikitext){
wiky.process_normal($('#wpTextbox1').val())