mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-04 22:19:07 +08:00
Merge pull request #2198 from okriuchykhin/ok_SCI_4053
Fix TinyMCE images in protocol cloning [SCI-4053]
This commit is contained in:
commit
522d236e10
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