2
0
mirror of https://github.com/Ionaru/easy-markdown-editor synced 2025-09-07 08:12:35 -06:00

Add typings and tests for 'direction' option

This commit is contained in:
Jeroen Akkerman 2021-10-28 11:33:17 +02:00
parent de1cd3b293
commit 598821b6bb
2 changed files with 10 additions and 0 deletions

View File

@ -202,3 +202,11 @@ new EasyMDE({
'link',
],
});
new EasyMDE({
direction: 'ltr',
})
new EasyMDE({
direction: 'rtl',
})

2
types/easymde.d.ts vendored
View File

@ -222,6 +222,8 @@ declare namespace EasyMDE {
syncSideBySidePreviewScroll?: boolean;
overlayMode?: OverlayModeOptions;
direction?: 'ltr' | 'rtl';
}
}