Right now the HTML markup needed for the machine name preview and edit functionality is hardcoded in machine-name.js Drupal.behaviors.machineName behavior function. In keeping with Drupal's JavaScript best practices, and to make the markup accessible for themer's to add additional CSS classes to the markup, the markup should be moved to a Drupal JavaScript theme function instead.

Comments

PCate created an issue. See original summary.

PCate’s picture

Status: Active » Needs review
PCate’s picture

Version: 8.2.x-dev » 8.3.x-dev

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.0-alpha1 will be released the week of January 30, 2017, which means new developments and disruptive changes should now be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

PCate’s picture

Issue summary: View changes