Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

How to append

#1

Then append the following to the text area you want to transform into a TinyMCE editor. You can change the name by editing the ‘editor_selector’ param in the controller code options.

:class => "mceEditor"

Can you give me an example on using this?

Reported by Jonahbrown · April 2nd, 2009 @ 07:28 PM

State: resolved
Milestone: none
Assigned to: Kieran P Kieran P

Activity

  1. Kieran P
    Kieran P

    Hey Jonahbrown,

    In a Rails app, you use Rails helpers like

    <%= form.text_area :description %>
    

    To follow the step you posted above requires changing the above to

    <%= form.text_area :description, { :class => "mceEditor" } %>
    

    Note, you added a class called mceEditor, which TinyMCE will use to add the controls to.

    April 2nd, 2009 @ 08:41 PM

  2. Kieran P
    Kieran P
    • State changed from new to resolved

    April 16th, 2009 @ 07:04 PM

  3. BillShiphr
    BillShiphr

    Tavallisesta apteekista ei aina ole mahdollista löytää tarvittavia varoja. Kävin eri apteekeissa löytääkseni lääkkeen, jonka lääkäri määräsi minulle. Teen nyt jotain muuta. Käytän verkkoapteekkia. Esimerkiksi tilaan osta kamagra ja muutaman päivän kuluttua saan paketin suoraan kotiini. Se on erittäin mukava.

    January 20th, 2022 @ 11:38 PM

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.