I use https://github.com/swilliams/jq-wysihat jQuery Wysihat fork. I ran rake
to get the source code built, then copied the dist/jq-wysihat.js
and editor.css
over to my Rails library. It shows the Wysihat editor, and I can see that the textarea
is hidden.
By right, whenever I type anything to the Wysihat, I should get the same text in the hidden
textarea
(seen using Firebug). This is the correct implementation I saw in 37signals Basecamp project. But, I don't see thetextarea
get filled with anything that I typed in the editor. What have I done wrong?In the editing mode in my Rails app, how can I place the existing text into the Wysihat editor box?
Thanks.