Sha256: 9f73387b770b947367557643334978c5761ba223035c0ee855a6969c808b9cec
Contents?: true
Size: 942 Bytes
Versions: 17
Compression:
Stored size: 942 Bytes
Contents
# -*- encoding : utf-8 -*- class UpdateTinymceConfig < Cardio::Migration::Core TINYMCE_CONF = <<-JSON.strip_heredoc { "theme": "modern", "menubar": "edit view insert format table", "plugins": "autoresize code lists hr link autolink table contextmenu textcolor colorpicker", "toolbar1": "formatselect | bold italic strikethrough forecolor backcolor | link | alignleft aligncenter alignright alignjustify | numlist bullist outdent indent | removeformat", "width":"100%", "auto_resize":true, "autoresize_max_height": 500, "relative_urls":false, "extended_valid_elements":"a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]" } JSON def up ensure_card :tiny_mce, content: TINYMCE_CONF end end
Version data entries
17 entries across 17 versions & 1 rubygems