Should the dir of the content be defined somehow other than the main document? In other words, even if a user is using an Arabic UI, they may end up editing an English document, so I while I think it's good to use the body direction for a default, I'm not sure that's what we want to use exclusively.