class documentation
class ZMSTextformatManager(object): (source)
Manage block text formats used by rich-text editing and export/import.
| Method | del |
Remove one text format by id and persist the resulting list. |
| Method | get |
Return one ZMSTextformat wrapper for the given format id. |
| Method | get |
Return the default text-format id, falling back to the first or body. |
| Method | get |
Return all configured text formats sorted by display label. |
| Method | import |
Import one or many text-format records from XML content. |
| Method | manage_change |
Handle add/edit/delete/import/export actions for text-format entries. |
| Method | set |
Mark the given text-format id as default and clear previous defaults. |
| Method | set |
Create or update one text-format definition. |
| Instance Variable | textformats |
Undocumented |
| Method | _import |
Import a single serialized text-format entry into self.textformats. |