Skip to content

Commit

Permalink
Issue #2575: Added richtextholder class for custmer df richtext.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanhaerter committed Oct 30, 2023
1 parent 89251cc commit c4bb26f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Kernel/Output/HTML/DynamicField/Mask.pm
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,11 @@ sub EditSectionRender {
CellClasses => $CellClassString,
);

# special case for rich text field
if ( $DynamicField->{FieldType} eq 'RichText' ) {
$CellBlockData{AdditionalClass} = ' RichTextHolder';
}

# multi value
# The label is show only for the first value
if ( $DynamicField->{Config}{MultiValue} ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="Row Row_DynamicField[% Data.RowClasses | html %]" style="grid-template-columns: [% Data.TemplateColumns | html %]">
[% RenderBlockStart("DynamicField") %]
<div class="FieldCell[% Data.CellClasses %]" style="[% Data.CellStyle | html %]">
<div class="Field">
<div class="Field[% Data.AdditionalClass | html %]">
[% Data.Field %]
</div>
[% IF Data.Tooltip %]
Expand Down

0 comments on commit c4bb26f

Please sign in to comment.