I'm customizing a Refinery CMS instance and creating custom front end pages. I tried to follow the README for Wymeditor, but it seems that the Wymeditor embedded in RefineryCMS has been modified, and this isn't working.
https://github.com/wymeditor/wymeditor
I tried to view the source of a Refinery admin page with the editor, and just copied the Javascript and CSS source tags to include into my front end custom page, and added the class to the text area, and called the wymeditor()
function, but it gave a Javascript error.
HTML source...
<link href="/assets/wymeditor/skins/refinery/skin.css?body=1" media="screen" rel="stylesheet" type="text/css" />
<script src="/assets/wymeditor/setup.js?body=1" type="text/javascript"></script>
<script src="/assets/wymeditor/functions.js?body=1" type="text/javascript"></script>
...
Yields console error
Uncaught TypeError: Cannot read property 'msie' of undefined boot_wym.js?body=1:117
Try a version of jquery older than 1.9. The .browser method has been removed in 1.9
You can also try this monkey patch of js