stackedit.js icon indicating copy to clipboard operation
stackedit.js copied to clipboard

Allow some customization of CSS (e.g. RTL direction)

Open abartov opened this issue 7 years ago • 0 comments

Thank you for this wonderful project!

Would it be possible to allow to specify some CSS attributes, at least for the main div or body? My particular use case is that I want it all to support right-to-left languages better, so direction: rtl; text-align: right would be what I would want to add.

If not arbitrary CSS, could you perhaps accept a boolean for "rtl" which if set would include the above CSS in the main DIV of the iframe? I can't modify the iframe across domains.

I guess the alternative would be to host Stackedit itself on my own domain, to allow me to modify its CSS, and that's what I'll do if necessary.

abartov avatar Sep 09 '18 17:09 abartov