jordandelozier / wysibb

WYSIWYG BBcode editor
http://www.wysibb.com
246 stars 86 forks source link

Cannot get it to work? #203

Closed carrzkiss closed 3 years ago

carrzkiss commented 3 years ago

Hello, All.

I am testing out the project, as I require a WYSIWYG bbcode editor that is fully customizable with my own bbcode. I used the code sample on the homepage, and it does not work.

<head>
<!-- Load jQuery  -->
<script src="js/jquery-3.5.1.min.js"></script>

<!-- Load WysiBB JS and Theme -->
<script src="js/jquery.wysibb.min.js"></script>
<link rel="stylesheet" href="theme/default/wbbtheme.css" />

<!-- Init WysiBB BBCode editor -->
<script>
$(document).ready(function() {
var wbbOpt = {
    lang :   "en",
    buttons: "bold,italic,underline,|,img,link,|,code,quote"
}
$("#editor").wysibb(wbbOpt);
});
</script>
</head>

<body>

<textarea id="editor" name="editor_name">My text</textarea>
</body>
</html>

When I load the page, it just shows the default empty textarea. I tested the page on IIS and nothing. Url tested with. 192.168.2.12/test/wysibb/test.html What am I missing here?

Thanks for any input on this one. Wayne

carrzkiss commented 3 years ago

It started working. Not sure what the issue was, a ghost issue, no telling, it just started working.