Skip to content

Commit

Permalink
Disable sticky toolbar in default configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
spohlenz committed Jul 30, 2024
1 parent 746a9cc commit 6e75819
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ Trestle.configure do |config|
:code
] # also includes [:hr, :paste] on TinyMCE 5
c.toolbar = "styleselect | bold italic underline strikethrough | subscript superscript hr | alignleft aligncenter alignright alignjustify | bullist numlist | indent outdent | undo redo | link unlink | image charmap table | code"
c.toolbar_mode = "floating"
c.toolbar_sticky = true
c.link_context_toolbar = true
c.convert_urls = false
end
Expand Down
2 changes: 0 additions & 2 deletions config/initializers/trestle.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
]
c.plugins << :hr << :paste if Trestle::TinyMCE.tinymce_major_version == 5
c.toolbar = "styleselect | bold italic underline strikethrough | subscript superscript hr | alignleft aligncenter alignright alignjustify | bullist numlist | indent outdent | undo redo | link unlink | image charmap table | code"
c.toolbar_mode = "floating"
c.toolbar_sticky = true
c.link_context_toolbar = true
c.convert_urls = false
end
Expand Down

0 comments on commit 6e75819

Please sign in to comment.