/[drupal]/contributions/modules/bueditor/README.txt
ViewVC logotype

Diff of /contributions/modules/bueditor/README.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.21.2.2, Fri Nov 6 15:24:36 2009 UTC revision 1.21.2.3, Mon Nov 9 22:02:52 2009 UTC
# Line 402  fields -> an array of attributes that ar Line 402  fields -> an array of attributes that ar
402  options -> object containing optional parameters:  options -> object containing optional parameters:
403    title: dialog title. if not specified, "Tag editor - (tag)" is used.    title: dialog title. if not specified, "Tag editor - (tag)" is used.
404    stitle: laber for submit button. if not specified, "OK" is used.    stitle: laber for submit button. if not specified, "OK" is used.
405    submit: custom submit handler. called with two parameters (tag, form)    submit: custom submit handler. called with two parameters (tag, form, options, E)
406    validate: custom validator. called with two parameters (tag, form)    validate: custom validator. called with two parameters (tag, form, options, E)
407    effect: jQuery effect ('slideDown' or 'fadeIn')    effect: jQuery effect ('slideDown' or 'fadeIn')
408    
409  The simplest form, for example:  The simplest form, for example:
# Line 415  After submission, it will enclose/replac Line 415  After submission, it will enclose/replac
415  You might have noticed that fields in image/link dialogs are declared as objects not as strings. That's a  You might have noticed that fields in image/link dialogs are declared as objects not as strings. That's a
416  customized form of declaring attributes. It is ideal to use an object if you want  customized form of declaring attributes. It is ideal to use an object if you want
417  - a field type other than textfield (type: 'select', options: {'left': 'Left', 'right': 'Right'})  - a field type other than textfield (type: 'select', options: {'left': 'Left', 'right': 'Right'})
418    textarea and select are the two options other than the default.    the default type is text and other supported types are select, textarea, hidden
419  - a custom label (title: 'Image URL')  - a custom label (title: 'Image URL')
420  - a default value (value: ' ')  - a default value (value: ' ')
421  - some prefix or suffix text or html (prefix: '[ ', suffix: ' ]')  - some prefix or suffix text or html (prefix: '[ ', suffix: ' ]')

Legend:
Removed from v.1.21.2.2  
changed lines
  Added in v.1.21.2.3

  ViewVC Help
Powered by ViewVC 1.1.2