I am wondering how to use mercury stone with rails4. I tried following the manual http://asciicasts.com/episodes/296-mercury-editor if I load the page in the editor (/ editor / pages / 1), I see an error in the javascript console :
Uncaught TypeError: cannot read property 'konqueror' undefined
and the mercury area is not visible on the page at all
Gemfile:
gem 'mercury-rails', github: 'jejacks0n/mercury'
app / views / pages / show.html.erb:
<div id="page_body" class="mercury-region" data-type="editable"> <%= raw(@page.body) %> </div>
after some delay, I get a javascript warning with the message:
Mercury.PageEditor failed to load: Region type is invalid, data is missing, or Full is unknown for the page_body area.
Try updating.
Danil source share