2

My tinymce is working fine with rails 4 but where do i customize the text_area.

I have added following block of code in config/tinymce.yml

theme_advanced_toolbar_location: top
theme_advanced_toolbar_align: left
theme_advanced_statusbar_location: bottom
theme_advanced_buttons3_add:
  - tablecontrols
  - fullscreen
plugins:
  - table
  - fullscreen

It i remove tinymce.yml file also it is working. Actually where do i customize it.

Edit 1

I followed This link for installation

4

1 回答 1

2

你用的是哪个版本的tinymce-rails?如果是 v4.0 或更高版本,github 上的文档配置有点过时。特别是 tinymce 现在没有advanced主题 - 它被称为modernconfig/tinymce.yml仍然是进行自定义的正确位置,只是一些参数发生了变化。

有关如何配置它的详细信息,请参见此处。

于 2013-09-08T11:37:56.237 回答