Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

add Basecamp Trix editor #152

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

artemaminov
Copy link

No description provided.

@@ -1 +1,2 @@
Rails.application.config.assets.precompile += %w( tinymce-jquery.js )
Rails.application.config.assets.precompile += %w( trix.js trix.css )

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style/PercentLiteralDelimiters: %w-literals should be delimited by [ and ].
Layout/SpaceInsidePercentLiteralDelimiters: Do not use spaces inside percent literal delimiters.

@@ -5,7 +5,7 @@ class EditorSetting < Preferences::Configuration
preference :ids, :string, default: 'product_description page_body'

def self.editors
%w(TinyMCE CKEditor)
%w(TinyMCE CKEditor Trix)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style/PercentLiteralDelimiters: %w-literals should be delimited by [ and ].

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants