rails--rails/actiontext/lib/action_text
Jonathan Hefner ef61c9c8a3
Fix rendering Action Text HTML in new threads
Because `ActionText::Content.renderer` is implemented as a
`thread_cattr_accessor`, any default value set in the main thread will
be inaccessible from other threads.  Therefore, use a `cattr_accessor`
to store the default renderer, and fall back to it when `renderer` has
not been set by e.g. `with_renderer`.

Fixes #40757.
2020-12-07 16:41:44 -05:00
..
attachables Use match? where we don't need MatchData 2019-07-29 14:23:10 +09:00
attachments Disentangle Action Text from ApplicationController 2020-10-30 01:01:42 +00:00
attachable.rb Adds default trix partial 2019-03-05 11:29:32 -06:00
attachment.rb It may be better to explicitly require 'object/try' where we call `try` 2019-08-01 18:51:51 +09:00
attachment_gallery.rb Use match? where we don't need MatchData 2019-07-29 14:23:10 +09:00
attribute.rb Add explicit require for `Symbol#start_with?` 2020-11-25 15:22:32 +09:00
content.rb Always render Action Text HTML with :html format 2020-11-27 10:59:24 -06:00
engine.rb Fix rendering Action Text HTML in new threads 2020-12-07 16:41:44 -05:00
fixture_set.rb Add ActionText::FixtureSet.attachment 2020-10-30 15:53:35 -04:00
fragment.rb
gem_version.rb Start Rails 6.2 development 🎉 2020-12-03 01:35:29 +00:00
html_conversion.rb
plain_text_conversion.rb Cleanup unneeded blank string params in ActionText 2019-08-23 20:17:38 +02:00
rendering.rb Fix rendering Action Text HTML in new threads 2020-12-07 16:41:44 -05:00
serialization.rb
system_test_helper.rb Locate `fill_in_rich_text_area` by `<label>` text 2020-10-02 18:02:14 -04:00
trix_attachment.rb
version.rb