Do not unset 'view-mode' attribute while normalizing.
1 unresolved thread
Closes #3474707
Merge request reports
Activity
61 61 $result['element'] = $result['is']; 62 62 unset($result['is']); 63 63 } 64 unset($result['view-mode']); I feel like the 'is' handling right above here can also be removed.
I don't know exactly why it was introduced... it seems like someone found it better to write
setAttribute("is", VALUE)
in backend code, rather thansetTag(VALUE)
. But now that we are moving to CE display config to set attributes... this has a chance of adding confusion.However, that's not up to me to decide.
Edited by Roderik Muit
added 3 commits
-
a3aa1524...cfb1b2a7 - 2 commits from branch
project:3.x
- d0dc77d6 - Do not unset 'view-mode' attribute while normalizing.
-
a3aa1524...cfb1b2a7 - 2 commits from branch
Please register or sign in to reply