# In Place Edit w/ TinyMCE?

**URL:** <https://www.ruby-forum.com/t/in-place-edit-w-tinymce/163490>\
**Category:** Rails\
**Created:** [March 20, 2009, 9:34pm UTC](https://www.ruby-forum.com/t/in-place-edit-w-tinymce/163490 "2009-03-20T21:34:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![acts\_as\_jason](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/edb3f5/32.png) [@acts\_as\_jason](https://www.ruby-forum.com/u/acts_as_jason)\
**Post date:** [March 20, 2009, 9:34pm UTC](https://www.ruby-forum.com/t/in-place-edit-w-tinymce/163490/1 "2009-03-20T21:34:38Z")

</div>

Anyone able to get in place editing with tinyMCE working.

I have tried to implement this: [http://inplacericheditor.box.re/](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???

---

<div class="post-metadata">

**Author:** ![acts\_as\_jason](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/edb3f5/32.png) [@acts\_as\_jason](https://www.ruby-forum.com/u/acts_as_jason)\
**Post date:** [March 21, 2009, 2:33am UTC](https://www.ruby-forum.com/t/in-place-edit-w-tinymce/163490/2 "2009-03-21T02:33:05Z")

</div>

The ‘loadTextURL’ option for Ajax.InPlaceEditor  
[http://wiki.github.com/madrobby/scriptaculous/ajax-inplaceeditor](http://wiki.github.com/madrobby/scriptaculous/ajax-inplaceeditor)  
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.
