Sep 20, 2017, 8:46 AM
How To set default htmleditor align toggle from "justifyleft" to "justifyright"
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.
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)
);
}
Last edited by gnostic; Sep 20, 2017 at 9:32 AM.