I want to trigger this JS, this JS parses wikitext to HTML, by taking the value from the current text of the wikieditor. To get the current value of wikieditor, I used this $('#wpTextbox1').val()
Wikieditor
I want to trigger this JS, this JS parses wikitext to HTML, by taking the value from the current text of the wikieditor. To get the current value of wikieditor, I used this $('#wpTextbox1').val()
Wikieditor
Given the line wiky.process_normal = function(wikitext){
in the JS, I'd guess wiky.process_normal($('#wpTextbox1').val())
should do it.