Give priority to form attributes over values from editor object

Details at d.o issue: https://www.drupal.org/node/2302375