Added BIDI to Squire #1158

This commit is contained in:
the-djmaze 2023-06-12 11:45:59 +02:00
parent 43d885b922
commit 3b682f5811
2 changed files with 30 additions and 18 deletions

View file

@ -110,6 +110,18 @@ class SquireUI
fontSize: {
select: ['11px','13px','16px','20px','24px','30px'],
cmd: s => squire.setStyle({ fontSize: s.value })
},
dir: {
select: [
['LTR','ltr'],
['RTL','rtl'],
['Auto','auto'],
['',''],
],
cmd: s => {
squire.setAttribute('dir', s.value || null);
// squire.setStyle({ 'unicode-bidi': 'plaintext' });
}
}
},
colors: {