Displaying 1 result from an estimated 1 matches for "ck_a".
Did you mean:
c_a
2013 Jan 23
0
wysihtml5 for rails
...ons on
some occasions and more importantly need to set it to a read only mode
on a particular page so users can click on URL''s in the WYSIWYG text
area.
My current setup...
gem ''wysihtml5-rails'' in gemfile
In "show'' page...
<%= text_area_tag id="ck_a", @formatted_question[:anno_a],
:class=>''wysihtml5'' %>
<script type="text/javascript">
$(''.wysihtml5'').each(function(i, elem) {
$(elem).wysihtml5();
});
</script>
Also, not sure why but onl...