Sha256: 8e3780f9e67e6cd6a74e54f0fa484d2c92073d365b37dbb624456b017ee30735

Contents?: true

Size: 1.35 KB

Versions: 11

Compression:

Stored size: 1.35 KB

Contents

if defined?(Tinymce::Hammer)
  Tinymce::Hammer.install_path = '/javascripts/alchemy/tiny_mce'
  Tinymce::Hammer.plugins = %w(autoresize paste fullscreen inlinepopups alchemy_link)
  Tinymce::Hammer.languages = ['de', 'en']
  Tinymce::Hammer.init = {
    :paste_convert_headers_to_strong => true,
    :paste_convert_middot_lists => true,
    :paste_remove_spans => true,
    :paste_remove_styles => true,
    :paste_strip_class_attributes => true,
    :theme => 'advanced',
    :skin => 'o2k7',
    :skin_variant => 'silver',
    :inlinepopups_skin => 'alchemy',
    :popup_css => "/stylesheets/alchemy/alchemy_tinymce_dialog.css",
    :content_css => "/stylesheets/alchemy/alchemy_tinymce_content.css",
    :dialog_type => "modal",
    :width => "100%",
    :theme_advanced_resizing => true,
    :theme_advanced_resize_horizontal => false,
    :theme_advanced_resizing_min_height => '135',
    :theme_advanced_toolbar_align => 'left',
    :theme_advanced_toolbar_location => 'top',
    :theme_advanced_statusbar_location => 'bottom',
    :theme_advanced_buttons1 => 'bold,italic,underline,strikethrough,sub,sup,|,numlist,bullist,indent,outdent,|,alchemy_link,unlink,|,removeformat,cleanup,|,fullscreen',
    :theme_advanced_buttons2 => 'pastetext,pasteword,charmap,code,help',
    :theme_advanced_buttons3 => '',
    :fix_list_elements => true,
    :convert_urls => false
  }
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
alchemy_cms-2.0.7 config/initializers/tinymce_hammer.rb
alchemy_cms-2.0.6.1 config/initializers/tinymce_hammer.rb
alchemy_cms-2.0.5 config/initializers/tinymce_hammer.rb
alchemy_cms-2.0.4 config/initializers/tinymce_hammer.rb
alchemy_cms-2.0.3.1 config/initializers/tinymce_hammer.rb
alchemy_cms-2.0.3 config/initializers/tinymce_hammer.rb
alchemy_cms-2.0.2 config/initializers/tinymce_hammer.rb
alchemy_cms-2.0.1 config/initializers/tinymce_hammer.rb
alchemy_cms-2.0 config/initializers/tinymce_hammer.rb
alchemy_cms-2.0.rc6 config/initializers/tinymce_hammer.rb
alchemy_cms-2.0.rc5 config/initializers/tinymce_hammer.rb