feat: add force_text_direction shortcode (#414)

This commit is contained in:
Óscar 2024-10-18 18:53:42 +02:00 committed by welpo
parent 092ccdd1ba
commit c9f8d27b96
No known key found for this signature in database
GPG key ID: A2F978CF4EC1F5A6
5 changed files with 108 additions and 3 deletions

View file

@ -0,0 +1,5 @@
{%- set direction = direction | default(value="ltr") -%}
<div data-force-text-direction="{{ direction }}">
{{ body | markdown | safe }}
</div>