문제

I use Ruby on Rails 2.3 and gem 'tiny_mce'

Gem uses TinyMCE 3.4

Gem generates script on my page

tinyMCE.init({
  editor_selector : 'mceEditor',
  mode : 'textareas'
});

Next, I have several textareas with class 'mceEditor'. But actually editor appears only at first textarea.

What I need to do?

도움이 되었습니까?

해결책

You need to give all of your textareas different ids!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top