Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
filter.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Sep 2010 at 18:47 UTC
Updated:
28 Nov 2010 at 21:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
tim.plunkettThis 'works'. I have a feeling its not the way to do it, would love to learn the right way.
Comment #3
tim.plunkettWell duh, should've seen that coming. Leaving as needs work, maybe I'll have more time for this later.
Comment #4
sunTo do this, you need to add an internal (#type = 'value') form element called "old_name" to the form, so as to be able to recognize whether the text format name actually changed.
Comment #5
sunNot major, just a bug.
Comment #6
sunI was wrong in #4. The "old name", if any, can be read from $form['name']['#default_value']