mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-31 20:19:05 +08:00
Fix import of the old format TinyMCE images [SCI-4767]
This commit is contained in:
parent
1a8333612a
commit
60017661c1
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ module ProtocolsImporter
|
|||
def populate_rte(object_json, object, team)
|
||||
return populate_rte_legacy(object_json) unless object_json['descriptionAssets']
|
||||
|
||||
description = TinyMceAsset.update_old_tinymce(object_json['description'], nil)
|
||||
description = TinyMceAsset.update_old_tinymce(object_json['description'], nil, true)
|
||||
object_json['descriptionAssets'].values.each do |tiny_mce_img_json|
|
||||
tiny_mce_img = TinyMceAsset.new(
|
||||
object: object,
|
||||
|
|
Loading…
Reference in a new issue