mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-24 15:54:00 +08:00
Merge pull request #4842 from artoscinote/ma_SCI_5098
Fix extraction of TinyMCE images [SCI-5098]
This commit is contained in:
commit
fd4fb6852a
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ module TinyMceImages
|
|||
dependent: :destroy
|
||||
|
||||
before_save :clean_tiny_mce_image_urls
|
||||
before_save :extract_base64_images
|
||||
before_validation :extract_base64_images
|
||||
|
||||
def prepare_for_report(field, base64_encoded_imgs = false)
|
||||
description = self[field]
|
||||
|
|
Loading…
Reference in a new issue