Formats a text field inside
and behaviour tags, e.g. <script>
Drupal.behaviors.[random] = {
attach: function (context, settings) {
[field value]
}
};
<script>
Use of this field will of course allow anyone who can configure this formatter/add input to a textfield using this formatter to execute javascript.
Security note: ONLY use this formatter with fields entered by trusted users. If this module is installed, anyone who can configure formatters for text fields cold configure this formatter, so only install this module if users configuring field formatters can input javascript.Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.10 sites report using this module
- Created by hefox on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.