Syncronize VisualEditor: d51e171..f7b947f

Change-Id: Ie50bbc52c925d22fec02ebc3ac9f3354ab7ea511