#27 new
MSatterwhite

Unable to Display Editor

Reported by MSatterwhite | July 13th, 2010 @ 08:05 AM

First let me say mea culpa. I KNOW I'm missing something - but I cannot get the editor to display. I've even tried copying code verbatim.

I've gone through every Installation step on http://github.com/kete/tiny_mce and rechecked them a dozen times. I installed tiny_mce as a gem, and I'm running the server on PCLinuxOS. My code is:

<% form_for :category, :url => {:action => :edit_category} do |form| %>
<%= form.text_area :html, :cols => 80, :rows => 15, :value => "test", :class => "mceEditor"  %>

The text_area doesn't display at all - it's as if it doesn't exist. I've tried this with Firefox, Chrome, and Opera. If I remove the ':class => "mceEditor"' from the code, the text_area displays correctly.

I have no doubt that I'm missing something, but I've tried to follow the directions EXACTLY, and I can't get it to come up.

I don't know where the css declaration for the mceEditor class is inserted (that feels suspect - but I don't know enough to know what is suspicious), but I'm sure it's somewhere.

Can you offer any help? I'd be happy with a "you should have asked this question at ???????" - even happier if you can let me know what I'm missing.

Thank you very much in advance
---Michael

Comments and changes to this ticket

  • Benjamin Tan Wei Hao

    Benjamin Tan Wei Hao July 9th, 2011 @ 07:20 PM

    Hi!

    I've not tried the way you done it, but usually I try to view the source via the browser, to see what html you generated. That might help you somehow to track the bug down.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

A Ruby on Rails plugin that allows easy implementation of the TinyMCE editor into your applications.

People watching this ticket

Pages