mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-05-05 10:21:01 +09:00
12 lines
367 B
Ruby
12 lines
367 B
Ruby
module RichTextHelper
|
|
def rich_text_data_actions
|
|
default_actions =
|
|
"trix-change->typing-notifications#start keydown->composer#submitByKeyboard"
|
|
|
|
autocomplete_actions =
|
|
"trix-focus->rich-autocomplete#focus trix-change->rich-autocomplete#search trix-blur->rich-autocomplete#blur"
|
|
|
|
[ default_actions, autocomplete_actions ].join(" ")
|
|
end
|
|
end
|