Widgets > wijeditor > wijeditor Tutorial > wijeditor Step 2 of 3: Initializing the Widget |
In the previous step, you added markup to for the text that will appear in the editor. Now you can add the jQuery script to use the wijeditor widget to display and edit the text.
After the closing </div>
tags you added in the previous step, enter the following jQuery script to initialize the wijeditor widget:
<script id="scriptInit" type="text/javascript">
$(document).ready(function () {
$("#wijeditor").wijeditor();
});
</script>