You are here

README.txt in Scald: Media Management made easy 7

This module makes a bridge to drag and drop your atoms from any library to
a text field (it could be a textfield, plain textarea or richtext textarea).
A default library (scald_dnd_library) is also shipped within the project.

Each dropped atom contain 2 parts:

- The "editor" part: is the rendered atom itself. The default library
  (scald_dnd_library) uses by default the sdl_editor_representation context to
  render it. This part should generally not be modified, it could be in HTML
  format, or the token-like SAS (Scald Atom Shorthand) format and it is updated
  automatically.

- The "legend" part: usually is the atom title and atom author. You can modify,
  or even delete, text in this part. A provider can omit this part by setting
  $atom->omit_legend = TRUE.

File

modules/library/dnd/README.txt
View source
  1. This module makes a bridge to drag and drop your atoms from any library to
  2. a text field (it could be a textfield, plain textarea or richtext textarea).
  3. A default library (scald_dnd_library) is also shipped within the project.
  4. Each dropped atom contain 2 parts:
  5. - The "editor" part: is the rendered atom itself. The default library
  6. (scald_dnd_library) uses by default the sdl_editor_representation context to
  7. render it. This part should generally not be modified, it could be in HTML
  8. format, or the token-like SAS (Scald Atom Shorthand) format and it is updated
  9. automatically.
  10. - The "legend" part: usually is the atom title and atom author. You can modify,
  11. or even delete, text in this part. A provider can omit this part by setting
  12. $atom->omit_legend = TRUE.