Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/feature/KAD-4016' into feature/K…
Browse files Browse the repository at this point in the history
…AD-4016
  • Loading branch information
gilbert-hernandez committed Jan 23, 2025
2 parents 4a18917 + 204db46 commit 5bf8db8
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions src/blocks/advancedheading/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -1017,8 +1017,20 @@ function KadenceAdvancedHeading(props) {
previewColorTextShadow
)}`
: undefined,
writingMode: textOrientation === 'horizontal' ? '' : textOrientation === 'stacked' || textOrientation === 'sideways-down' ? 'vertical-lr' : textOrientation === 'sideways-up'? 'sideways-lr' : '',
textOrientation: textOrientation === 'horizontal' || textOrientation === 'sideways-down' ? '' : textOrientation === 'stacked' ? 'upright' : '',
writingMode:
textOrientation === 'horizontal'
? ''
: textOrientation === 'stacked' || textOrientation === 'sideways-down'
? 'vertical-lr'
: textOrientation === 'sideways-up'
? 'sideways-lr'
: '',
textOrientation:
textOrientation === 'horizontal' || textOrientation === 'sideways-down'
? ''
: textOrientation === 'stacked'
? 'upright'
: '',
}}
placeholder={__('Write something…', 'kadence-blocks')}
/>
Expand Down

0 comments on commit 5bf8db8

Please sign in to comment.