mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-08 07:21:03 +08:00
Merge pull request #4949 from sboursen-scinote/sb_SCI-7237
Improve the print functionality for protocol [SCI-7237]
This commit is contained in:
commit
4a65a9e55e
2 changed files with 2 additions and 2 deletions
|
|
@ -58,7 +58,7 @@ hr {
|
|||
}
|
||||
|
||||
.print-step {
|
||||
margin: 5em 0;
|
||||
margin: 2em 0;
|
||||
}
|
||||
|
||||
.step-check-circle {
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
<% step_text = step_element.orderable %>
|
||||
<div class="print-step-text">
|
||||
<div class="ql-editor">
|
||||
<%= custom_auto_link(step_text.tinymce_render(:text),
|
||||
<%= custom_auto_link(step_text.tinymce_render(:text).gsub(/<p>\S<\/p>/, '').strip,
|
||||
simple_format: false,
|
||||
tags: %w(img),
|
||||
team: current_team,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue