Opened 11 years ago

Closed 11 years ago

#9878 closed Bug (invalid)

Issue with activating ckeditor by class with Rails turbolinks gem

Reported by: woto Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

Hi, sorry for bad English.

It's issue not a major problem. But it will be cool if it will be working as expected.

The Ruby on Rails 4 by default will be included turbolinks gem https://github.com/rails/turbolinks http://geekmonkey.org/articles/28-introducing-turbolinks-for-rails-4-0

Ruby on Rails 3 users already can include this gem in their project, what i am done. In my project CKEditor activating as class="ckeditor" but with turbolinks gem it's doesn't work without full reload of a page. With another methods like ...replace... or ...contenteditable... it's work. It seems that similar problem's described with Stripe plugin here https://github.com/rails/turbolinks/issues/87

Change History (1)

comment:1 Changed 11 years ago by Piotrek Koszuliński

Resolution: invalid
Status: newclosed

If you dynamically add textareas, then you have to use CKEDITOR.replace() to initialize editors on them. There's no other option.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy