1
我已經安裝了ckeditor gem,它工作正常。當我嘗試使用:toolbar =>「mini」時,我在工具欄中獲得與完整項目相同數量的項目。我不應該在工具欄中獲得更少的按鈕嗎?如何更改Rails 4中Ckeditor中按鈕的數量?
這是我在編輯viwes的一個代碼:
<%= f.input :content, :as => :ckeditor, :input_html => { :ckeditor => {:toolbar => 'mini'} } %>
感謝