mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 09:42:46 +08:00
Fix TinyMCE images in protocol clonning [SCI-4053]
This commit is contained in:
parent
67fdda1eeb
commit
b2eda231a0
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