PDA

View Full Version : How To set default htmleditor align from "justifyleft" to "justifyright"



gnostic
Sep 20, 2017, 8:46 AM
I take a lot of time for change defalut align toggle of htmleditor from "justifyleft" to "justifyright", and could not success.
I set "RTL = true;" for editor, and i expect that "justifyleft" automatically change to "justifyright", but did not change.

I also test this way, but this code mixed justify buttons operation and not working.


if (me.enableAlignments) {
items.push(
'-',
btn('justifyfull',false),
btn('justifyright',true),
btn('justifycenter'false),
btn('justifyleft',false)
);
}