Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Not working in my MVC3 Project #200

Open
sahilpopli opened this Issue · 1 comment

2 participants

@sahilpopli

i have attached these files so far
bootstrap-wysihtml5.css
jquery-1.7.2.min.js
wysihtml5-0.3.0.js
bootstrap-wysihtml5.js

in m project i am also using bootstrap

here is the initialization

but it not working any idea
it is showing the defaulttextarea

@salixzs

Are you sure your textarea has this attribute:
<textarea id="textarea">.
If you have ID for your textarea element something else, it will not apply wysihtml5 to that text area.
If you have textarea another ID, use it in JavaScript line, like
$('#myownid').wysihtml5()

Also if you use Model in your view, you can use it this way
$('#@Html.IdFor(m => m.TextField)').wysihtml5()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.