Forum: Ruby on Rails In Place Edit w/ TinyMCE ?????

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
acts_as_jason (Guest)
on 2009-03-20 22:34
(Received via mailing list)
Anyone able to get in place editing with tinyMCE working.

I have tried to implement this: http://inplacericheditor.box.re/

Everything seems to be working, except when the tinyMCE editor loads,
it ignores the current markup.

For example:

I have 2 paragraphs in p tags and 1 unordered list.

When I click the highlighted area, the tinyMCE editor loads, but all
the text is on one line. If I click the html button if the advanced
editor, it shows that all the content is wrapped in 1 p tag.

Any ideas????
Yoichi Hirai (Guest)
on 2009-03-21 03:33
(Received via mailing list)
The 'loadTextURL' option for Ajax.InPlaceEditor
http://wiki.github.com/madrobby/scriptaculous/ajax...
is for that kind of problem.  I haven't checked whether it works with
tinyMCE.  However, reading the implimentation for
the 'loadTextURL' option will help probably.
This topic is locked and can not be replied to.