I am creating a CMS type of system. I need text areas that users can
add formatted text and links. I installed TinyMCE and it works
beautifully when a user is creating an item in a textarea, but when a
user edits the item the textarea is no longer a TinyMCE editor - just
a plain old text area. Does anyone know why, and how do I fix it so
that when a user is editing a textarea item they can use TinyMCE?
Other options besides TinyMCE is welcomed as well.
Rick,
I tried widgeditor - seems buggy. Its OK, but now I am having the
problem that when a user is first creating content the textfield does
not let you enter text. But it works fine when you are editing
information. Any suggestions?
Michael,
I could not get the TinyMCE plugin to install - any suggestions?
Sorry maybe I am confusing people. My problem is not that the text area is not editable, my problem is that when a user creates content (with a create action) for a page the tinymce editor works great, but when the user then wants to edit that content (with an edit action) the text area is just a plain text area - no tinymce editor - the content is displayed in the text area with html tags.
I want the users to be able to use a tinymce editor to edit the content - just like when they created it.
Am I making sense?
Code:
In Layout
tinyMCE.init({
mode : "textareas",
theme : "advanced",
theme_advanced_buttons1 : "bold,italic,underline,separator,bullist,numlist,link, separator,preview",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",
plugins : "preview"
});
In .rhtml partial (create and edit uses the same form)
Description:
<%= text_area('mod', 'description') %>
Thanks for any help.