Don't create the opacity buffer for images that lack a mask.
Remove unneeded srcOffset arguments from createRgbBuffer.
Close the secondary toolbar when an action is only performed once
Refactors getTextContent return value
Don't create the RGB buffer for images that don't need resizing.
Minor fixes for the jsdocs and removing unused members.
Merge pull request #4139 from nnethercote/RGBA

Write color and opacity values directly to the final RGBA array when possible, so as to avoid allocating unnecessary memory.
Merge pull request #4144 from yurydelendik/api-doc

Misc fixes for the API docs
Merge pull request #4140 from timvandermeij/close-secondary-toolbar

Close the secondary toolbar when an action is performed once
RTL CSS improvements
Merge pull request #4154 from timvandermeij/rtl-css-fixes

RTL CSS improvements
Fixes this.reject regression
Document properties
Merge pull request #4158 from timvandermeij/fix-promise-regression

Fixes this.reject regression
Merge pull request #4149 from timvandermeij/document-properties

Document properties