Brendon Muir

Joined

10 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in How do i can add text-alignment to trix ?

Is it perhaps because textAttributes are inline items and so don't support text alignment?

Also this bit seems wrong: return element.style.alignLeft === "left" as I think you'd be wanting to target element.style.textAlign.