mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-03 05:29:46 +08:00
Fix cloning of TinyMCE images in protocol description [SCI-3935][SCI-3926][SCI-3934]
This commit is contained in:
parent
584f2d07c0
commit
46bcc0e78e
1 changed files with 1 additions and 0 deletions
|
@ -249,6 +249,7 @@ class Protocol < ApplicationRecord
|
|||
def self.clone_contents(src, dest, current_user, clone_keywords)
|
||||
assets_to_clone = []
|
||||
dest.update(description: src.description)
|
||||
src.clone_tinymce_assets(dest, dest.team)
|
||||
|
||||
# Update keywords
|
||||
if clone_keywords
|
||||
|
|
Loading…
Reference in a new issue