1

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

enter image description here

QoP
  • 27,388
  • 16
  • 74
  • 74

1 Answers1

0

Given the line wiky.process_normal = function(wikitext){ in the JS, I'd guess wiky.process_normal($('#wpTextbox1').val()) should do it.

AUsr19532
  • 228
  • 1
  • 11