#514008: Allow HTML headings in default Filtered HTML text format

seems like a simple preference in accessible api. [x] Make full html default format for roles who have access to it.

Comments

johnbarclay’s picture

since in filter.module, the default filter format is the first one available by weight.

function filter_default_format($account = NULL) {
  global $user;
  if (!isset($account)) {
    $account = $user;
  }
  // Get a list of formats for this user, ordered by weight. The first one
  // available is the user's default format.
  $formats = filter_formats($account);
  $format = reset($formats);
  return $format->format;
}

The accessible helper module can fix this by rearranging the weight. The patch to core would do the same by changing the weights in filter.install/filter_install()

johnbarclay’s picture

Status: Active » Needs review

This will be in 7.x-1.x-dev in the accessible fixes part of the module.

johnbarclay’s picture

Version: 7.x-1.x-dev » 7.x-1.0-alpha1
johnbarclay’s picture

Version: 7.x-1.0-alpha1 » 7.x-2.x-dev
mgifford’s picture

This is also useful patch to start with http://drupal.org/node/514008#comment-3499454

mgifford’s picture

This is also useful patch to start with http://drupal.org/node/514008#comment-3499454

mgifford’s picture

Issue summary: View changes
Status: Needs review » Active